Update Dockerfile
Changed the golang-upx package version to the latest working version; Changed the DEBIAN_FRONTEND variable to be right;
This commit is contained in:
@@ -5,8 +5,8 @@ RUN apt update && apt install -y wget
|
||||
RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
|
||||
RUN chmod a+rx /usr/local/bin/yt-dlp
|
||||
|
||||
FROM devopsworks/golang-upx:latest as builder
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
FROM devopsworks/golang-upx:1.23 as builder
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go mod tidy
|
||||
@@ -27,4 +27,4 @@ COPY --from=ytdlp_cache /usr/local/bin/yt-dlp /bin/yt-dlp
|
||||
RUN mkdir /app/uploads
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT [ "/app/whishper", "-addr", ":8080" ]
|
||||
ENTRYPOINT [ "/app/whishper", "-addr", ":8080" ]
|
||||
|
||||
Reference in New Issue
Block a user