Fix server local build (#75)
* Fix server local build * Build docs locally and for prod --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
11
infra/dev/docs/Dockerfile
Normal file
11
infra/dev/docs/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM node:18.16.0-alpine as docs
|
||||
|
||||
WORKDIR /app/docs
|
||||
|
||||
COPY ../../docs/package.json .
|
||||
COPY ../../docs/package-lock.json .
|
||||
RUN npm install
|
||||
|
||||
COPY ../../docs .
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
Reference in New Issue
Block a user