Directory should be created first before changing the ownership.
+2
-1
Diff
round #0
+2
-1
Dockerfile
+2
-1
Dockerfile
···
35
35
COPY --chown=appuser:appuser .env .
36
36
COPY --chown=appuser:appuser handles.txt .
37
37
38
-
RUN chown -R appuser:appuser /app/data/gnupg
38
+
RUN mkdir -p /app/data/gnupg \
39
+
&& chown -R appuser:appuser /app/data/gnupg
39
40
40
41
# Copy entrypoint
41
42
COPY entrypoint.sh /entrypoint.sh
History
1 round
1 comment
vaporize.me
submitted
#0
expand 1 comment
pull request successfully merged
Looks like we need to create some good unit tests for this project. Merged!