Update Dockerfile
This commit is contained in:
@@ -6,13 +6,13 @@ FROM alpine:3.17 AS build
|
|||||||
WORKDIR /usr/src/yt-dlp-webui
|
WORKDIR /usr/src/yt-dlp-webui
|
||||||
# install core dependencies
|
# install core dependencies
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add psmisc nodejs yarn go
|
apk add nodejs npm go
|
||||||
# copia la salsa
|
# copia la salsa
|
||||||
COPY . .
|
COPY . .
|
||||||
# build frontend
|
# build frontend
|
||||||
WORKDIR /usr/src/yt-dlp-webui/frontend
|
WORKDIR /usr/src/yt-dlp-webui/frontend
|
||||||
RUN yarn install && \
|
RUN npm install && \
|
||||||
yarn build
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user