mirror of
https://github.com/outbackdingo/databunker.git
synced 2026-01-27 10:18:45 +00:00
add volume directive
This commit is contained in:
@@ -30,6 +30,7 @@ RUN /bin/busybox mkdir -p /databunker/data && \
|
||||
/bin/busybox chmod 0777 /tmp && \
|
||||
addgroup -S appgroup && adduser --no-create-home -S appuser -G appgroup && \
|
||||
chown appuser:appgroup /databunker/data
|
||||
VOLUME ["/databunker/data"]
|
||||
USER appuser
|
||||
COPY --from=builder /go/src/securitybunker/databunker/databunker /go/src/securitybunker/databunker/run.sh /go/src/securitybunker/databunker/health-check.sh /databunker/bin/
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user