Updated Dockerfiles

This commit is contained in:
2021-03-18 16:43:22 +05:30
parent 30685e10a8
commit 1163989866
2 changed files with 2 additions and 18 deletions

View File

@ -2,7 +2,7 @@ FROM node:latest AS builder
ADD https://git.tanshu.com/api/v1/repos/tanshu/barker/tags /tags.json
RUN git clone --single-branch --depth 1 --branch latest https://git.tanshu.com/tanshu/barker.git /app
WORKDIR /app/bookie
RUN npm install --unsafe-perm --legacy-peer-deps && /app/bookie/node_modules/.bin/ng build --prod
RUN npm install --unsafe-perm && /app/bookie/node_modules/.bin/ng build --prod
FROM python:latest