Unverified Commit e03a326c authored by Max Wu's avatar Max Wu Committed by GitHub
Browse files

Merge pull request #1313 from hackmdio/fix/image-upload-permission

fix: image upload caused permission denied error in docker
parents eec45c83 d0b02af1
......@@ -18,6 +18,6 @@ RUN set -xe && \
FROM hackmdio/runtime:1.0.4
USER hackmd
WORKDIR /home/hackmd/app
COPY --from=BUILD /home/hackmd/app .
COPY --chown=1500:1500 --from=BUILD /home/hackmd/app .
EXPOSE 3000
ENTRYPOINT ["/home/hackmd/app/docker-entrypoint.sh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment