check again

This commit is contained in:
Dedy Martadinata S
2022-05-05 23:43:13 +07:00
committed by GitHub
parent 4bff50a5f0
commit d2e1b04326

View File

@@ -13,7 +13,8 @@ WORKDIR /build
COPY [ "package.json", "package-lock.json", "angular.json", "tsconfig.json", "/build/" ]
COPY [ "src/", "/build/src/" ]
RUN npm install && \
npm run build
npm run build && \
ls -al backend/public
# Install backend deps
@@ -21,9 +22,10 @@ FROM node:16-bullseye-slim as backend
ENV NO_UPDATE_NOTIFIER=true
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
COPY ["backend/", "/app/" ]
COPY [ "backend/","/app/" ]
RUN npm config set strict-ssl false && \
npm install --prod
npm install --prod && \
ls -al
# Final image
FROM node:16-bullseye-slim