mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 04:15:38 +00:00
Dockerfile: Fix EXPOSE outside the build stages
This commit is contained in:
parent
6884f05041
commit
b5262dc010
|
@ -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