Skip to content

Commit d0b02af

Browse files
committed
fix: wrong permission caused user cannot upload image in docker
Signed-off-by: BoHong Li <[email protected]>
1 parent 56cc64e commit d0b02af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: deployments/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ RUN set -xe && \
1818
FROM hackmdio/runtime:1.0.4
1919
USER hackmd
2020
WORKDIR /home/hackmd/app
21-
COPY --from=BUILD /home/hackmd/app .
21+
COPY --chown=1500:1500 --from=BUILD /home/hackmd/app .
2222
EXPOSE 3000
2323
ENTRYPOINT ["/home/hackmd/app/docker-entrypoint.sh"]

0 commit comments

Comments
 (0)