mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-19 09:31:44 +03:00
14 lines
224 B
Docker
14 lines
224 B
Docker
FROM node:18.16.0-alpine as server
|
|
|
|
WORKDIR /app/server
|
|
COPY ./server/package.json ./
|
|
COPY ./server/package-lock.json ./
|
|
RUN npm install
|
|
RUN npx prisma generate
|
|
|
|
COPY ./server .
|
|
|
|
RUN npm run build
|
|
|
|
CMD ["node", "dist/main"]
|