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

8 lines
157 B
Django/Jinja

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"]