feat: Add VOLUME instruction to Dockerfile (#527)
This commit is contained in:
1 parent
048711fe05
commit
5a9e8edf70
1 file changed
+1
@@ -55,6 +55,7 @@ RUN apk add --no-cache redis
|
|||||||
RUN mkdir /appdata
|
RUN mkdir /appdata
|
||||||
RUN mkdir /appdata/db
|
RUN mkdir /appdata/db
|
||||||
RUN mkdir /appdata/redis
|
RUN mkdir /appdata/redis
|
||||||
|
VOLUME /appdata
|
||||||
|
|
||||||
# Don't run production as root
|
# Don't run production as root
|
||||||
RUN addgroup --system --gid 1001 nodejs
|
RUN addgroup --system --gid 1001 nodejs
|
||||||
|
|||||||
Reference in new issue
Block a user