mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +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"]
|