feat: Add VOLUME instruction to Dockerfile (#527)

This commit is contained in:
Thomas Camlong
2024-05-20 17:34:16 +02:00
committed by GitHub
parent 048711fe05
commit 5a9e8edf70

View File

@@ -55,6 +55,7 @@ RUN apk add --no-cache redis
RUN mkdir /appdata
RUN mkdir /appdata/db
RUN mkdir /appdata/redis
VOLUME /appdata
# Don't run production as root
RUN addgroup --system --gid 1001 nodejs