computer-playbook/roles/server_docker-roulette-wheel/templates/Dockerfile.j2

7 lines
133 B
Docker
Raw Normal View History

2022-12-06 20:20:02 +01:00
FROM node:latest
WORKDIR /app
2022-12-06 23:40:23 +01:00
COPY ./app/package.json ./
2022-12-06 20:20:02 +01:00
RUN npm install
2022-12-06 23:40:23 +01:00
COPY ./app/ ./
2022-12-06 20:20:02 +01:00
RUN npm run build
CMD ["npm", "run", "start"]