From 869d34246b25a2be28aa478da7173983db0aea5c Mon Sep 17 00:00:00 2001 From: Daniel Ramos <46768340+danielcamposramos@users.noreply.github.com> Date: Sun, 26 Jan 2025 22:09:19 -0300 Subject: [PATCH] Update Dockerfile Changed the golang-upx package version to the latest working version; Changed the DEBIAN_FRONTEND variable to be right; --- backend/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 483ebc7..680b895 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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" ] \ No newline at end of file +ENTRYPOINT [ "/app/whishper", "-addr", ":8080" ]