mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 17:12:53 +03:00
14 lines
218 B
Docker
14 lines
218 B
Docker
FROM node:18.16.0-alpine as server
|
|
|
|
WORKDIR /app/server
|
|
COPY ./server/package.json ./
|
|
COPY ./server/yarn.lock ./
|
|
RUN yarn install
|
|
|
|
COPY ./server .
|
|
RUN npx prisma generate
|
|
|
|
RUN yarn build
|
|
|
|
CMD ["node", "dist/src/main"]
|