twenty/Dockerfile

15 lines
193 B
Docker
Raw Normal View History

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"]