From b5262dc010b62e12c64086ef11dd75c0602547c6 Mon Sep 17 00:00:00 2001 From: Jay Carlson Date: Fri, 1 Apr 2022 16:37:02 -0700 Subject: [PATCH] Dockerfile: Fix EXPOSE outside the build stages --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 29e5d4e..1abf463 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM nimlang/nim:1.6.2-alpine-regular as nim LABEL maintainer="setenforce@protonmail.com" -EXPOSE 8080 RUN apk --no-cache add libsass-dev pcre @@ -20,4 +19,5 @@ RUN apk --no-cache add pcre COPY --from=nim /src/nitter/nitter ./ COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf COPY --from=nim /src/nitter/public ./public +EXPOSE 8080 CMD ./nitter