Skip to content
Snippets Groups Projects
Dockerfile 246 B
FROM node:16-alpine as base
LABEL maintainer="Paolo Brasolin <paolo.brasolin@eurac.edu>"

WORKDIR /app

COPY package*.json ./
RUN npm install

COPY . .

FROM base as production
ENV NODE_PATH=./build
RUN npm run build
#CMD ["npm", "run", "start"]