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:
Charles Bochet
2023-04-25 17:47:15 +02:00
committed by GitHub
parent ae7bad65ca
commit d2c6a71c9e
6 changed files with 40 additions and 4 deletions

11
infra/dev/docs/Dockerfile Normal file
View 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"]