check again

pull/609/head
Dedy Martadinata S 4 years ago committed by GitHub
parent 4bff50a5f0
commit d2e1b04326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save