mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-21 10:51:50 +03:00
d5817608a7
* Fix production server deploy * Fix production server deploy
15 lines
220 B
Docker
15 lines
220 B
Docker
FROM node:18.16.0-alpine as docs
|
|
|
|
WORKDIR /app/docs
|
|
|
|
COPY ./docs/package.json .
|
|
COPY ./docs/yarn.lock .
|
|
RUN yarn install --prod
|
|
|
|
COPY ./docs .
|
|
RUN npm run build
|
|
|
|
RUN yarn global add serve
|
|
|
|
CMD ["serve", "-s", "./build"]
|