mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 11:48:52 +00:00
19 lines
311 B
Text
19 lines
311 B
Text
![]() |
FROM redis:alpine
|
||
|
|
||
|
# Include dist
|
||
|
ADD dist/ /root/dist/
|
||
|
|
||
|
# Setup apt
|
||
|
RUN apk -U --no-cache add \
|
||
|
redis && \
|
||
|
|
||
|
cp /root/dist/redis.conf /etc && \
|
||
|
|
||
|
# Clean up
|
||
|
rm -rf /root/* && \
|
||
|
rm -rf /tmp/* /var/tmp/* && \
|
||
|
rm -rf /var/cache/apk/*
|
||
|
|
||
|
# Start conpot
|
||
|
CMD redis-server /etc/redis.conf
|