Dockerfile: Fix EXPOSE outside the build stages
This commit is contained in:
parent
6884f05041
commit
b5262dc010
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
FROM nimlang/nim:1.6.2-alpine-regular as nim
|
FROM nimlang/nim:1.6.2-alpine-regular as nim
|
||||||
LABEL maintainer="setenforce@protonmail.com"
|
LABEL maintainer="setenforce@protonmail.com"
|
||||||
EXPOSE 8080
|
|
||||||
|
|
||||||
RUN apk --no-cache add libsass-dev pcre
|
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 ./
|
||||||
COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf
|
COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf
|
||||||
COPY --from=nim /src/nitter/public ./public
|
COPY --from=nim /src/nitter/public ./public
|
||||||
|
EXPOSE 8080
|
||||||
CMD ./nitter
|
CMD ./nitter
|
||||||
|
|
Loading…
Reference in a new issue