begin with hardening, tweaking

This commit is contained in:
Marco Ochse
2018-05-28 16:36:02 +00:00
parent 88e252fbfb
commit 4bbc63fd02
9 changed files with 33 additions and 118 deletions

View File

@ -4,8 +4,7 @@ FROM redis:alpine
ADD dist/ /root/dist/
# Setup apt
RUN apk -U --no-cache add \
redis && \
RUN apk -U --no-cache add redis && \
cp /root/dist/redis.conf /etc && \
@ -15,4 +14,5 @@ RUN apk -U --no-cache add \
rm -rf /var/cache/apk/*
# Start conpot
USER nobody:nobody
CMD redis-server /etc/redis.conf