website/Dockerfile
2022-11-09 20:42:34 +02:00

15 lines
147 B
Docker

FROM node:19-alpine
WORKDIR /usr/src/app
COPY package.json ./
RUN npm i
COPY . .
RUN npm run build
EXPOSE 80
CMD [ "npm", "run", "preview" ]