From e59cf383d56d123f3df5940e707b21af30732229 Mon Sep 17 00:00:00 2001 From: Marco <35533749+marcopeocchi@users.noreply.github.com> Date: Sun, 22 Jan 2023 10:16:24 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61b380d..11f0f62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,13 @@ FROM alpine:3.17 AS build WORKDIR /usr/src/yt-dlp-webui # install core dependencies RUN apk update && \ - apk add psmisc nodejs yarn go + apk add nodejs npm go # copia la salsa COPY . . # build frontend WORKDIR /usr/src/yt-dlp-webui/frontend -RUN yarn install && \ - yarn build +RUN npm install && \ + npm run build # build backend + incubator WORKDIR /usr/src/yt-dlp-webui RUN go build -o yt-dlp-webui