mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-10 15:37:24 +01:00
Default to user nobody inside container
This commit is contained in:
parent
a76d242564
commit
d04d80daae
@ -6,6 +6,7 @@ ADD http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
|
||||
ADD index.html /go/bin/
|
||||
RUN gunzip /var/tmp/GeoLite2-Country.mmdb.gz && \
|
||||
chown nobody:nogroup /var/tmp/GeoLite2-Country.mmdb
|
||||
USER nobody
|
||||
|
||||
CMD ["-f", "/var/tmp/GeoLite2-Country.mmdb"]
|
||||
ENTRYPOINT ["/go/bin/app"]
|
||||
|
Loading…
Reference in New Issue
Block a user