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

fix: image upload caused permission denied error in docker
This commit is contained in:
Max Wu 2019-10-23 01:49:40 +08:00 committed by GitHub
commit e03a326c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ RUN set -xe && \
FROM hackmdio/runtime:1.0.4 FROM hackmdio/runtime:1.0.4
USER hackmd USER hackmd
WORKDIR /home/hackmd/app WORKDIR /home/hackmd/app
COPY --from=BUILD /home/hackmd/app . COPY --chown=1500:1500 --from=BUILD /home/hackmd/app .
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["/home/hackmd/app/docker-entrypoint.sh"] ENTRYPOINT ["/home/hackmd/app/docker-entrypoint.sh"]