From ce838b8fb020bdf5cac2924a9eebee04834d0288 Mon Sep 17 00:00:00 2001 From: "marco.piovanello" Date: Wed, 25 Oct 2023 14:08:00 +0200 Subject: [PATCH] Dockerfile refactor --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69fff2e..1538bb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM golang:alpine AS build RUN apk update && \ - apk add nodejs-current pnpm + apk add nodejs-current npm COPY . /usr/src/yt-dlp-webui WORKDIR /usr/src/yt-dlp-webui/frontend -RUN pnpm install -RUN pnpm build +RUN npm install +RUN npm run build WORKDIR /usr/src/yt-dlp-webui RUN CGO_ENABLED=0 GOOS=linux go build -o yt-dlp-webui