mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
check again
This commit is contained in:
committed by
GitHub
parent
4bff50a5f0
commit
d2e1b04326
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user