Edit Dockerfile (#763)
Co-authored-by: Jonas Chopin-Revel <contact@jonas-chopin.com>
This commit is contained in:
parent
bc219aa792
commit
e93de59118
|
@ -20,4 +20,6 @@ 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
|
EXPOSE 8080
|
||||||
|
RUN adduser -h /src/ -D -s /bin/sh nitter
|
||||||
|
USER nitter
|
||||||
CMD ./nitter
|
CMD ./nitter
|
||||||
|
|
Loading…
Reference in New Issue