Mensa-API/Dockerfile
2023-12-19 02:37:22 +01:00

12 lines
160 B
Docker

FROM node:latest as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm i
COPY . .
FROM build-stage as production
ENV NODE_PATH=./build
RUN npm run build