twenty/infra/dev/docs/Dockerfile
Charles Bochet d2c6a71c9e
Fix server local build (#75)
* Fix server local build

* Build docs locally and for prod

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:47:15 +02:00

12 lines
184 B
Docker

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"]