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:
Daniel Ramos
2025-01-26 22:09:19 -03:00
committed by GitHub
parent 5fe8e483f6
commit 869d34246b

View File

@@ -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" ]