mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-22 21:50:43 +03:00
15 lines
193 B
Docker
15 lines
193 B
Docker
FROM node:18-alpine as app
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
|
|
WORKDIR /app/front
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
WORKDIR /app/server
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
CMD ["npm", "run", "start:prod"]
|