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

8 lines
157 B
Docker
Raw Normal View History

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