Edit Dockerfile (#763)

Co-authored-by: Jonas Chopin-Revel <contact@jonas-chopin.com>
This commit is contained in:
Jonas Chopin-Revel 2023-03-28 15:18:16 +02:00 committed by GitHub
parent bc219aa792
commit e93de59118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/public ./public
EXPOSE 8080
RUN adduser -h /src/ -D -s /bin/sh nitter
USER nitter
CMD ./nitter