Update Dockerfile

This commit is contained in:
Marco
2023-01-22 10:28:42 +01:00
committed by GitHub
parent e59cf383d5
commit 1f6d6d7839

View File

@@ -11,8 +11,8 @@ RUN apk update && \
COPY . . COPY . .
# build frontend # build frontend
WORKDIR /usr/src/yt-dlp-webui/frontend WORKDIR /usr/src/yt-dlp-webui/frontend
RUN npm install && \ RUN npm install
npm run build RUN npm run build
# build backend + incubator # build backend + incubator
WORKDIR /usr/src/yt-dlp-webui WORKDIR /usr/src/yt-dlp-webui
RUN go build -o yt-dlp-webui RUN go build -o yt-dlp-webui