mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-26 04:17:15 +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"]
|