chown /data volume in Dockerfiles (#634)

This commit is contained in:
Max
2022-11-07 01:31:26 +00:00
committed by GitHub
parent 145ea15be3
commit d97c217e62
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -72,6 +72,7 @@ COPY --from=builder /usr/src/app /usr/src/app
COPY . /usr/src/app
RUN mkdir -p /data && chown node:node /data
VOLUME /data
WORKDIR /data