Unverified Commit d0b02af1 authored by BoHong Li's avatar BoHong Li
Browse files

fix: wrong permission caused user cannot upload image in docker



Signed-off-by: default avatarBoHong Li <raccoon@hackmd.io>
parent 56cc64e9
......@@ -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"]
Supports Markdown
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