Skip to content

Commit

Permalink
fix: wrong permission caused user cannot upload image in docker
Browse files Browse the repository at this point in the history
Signed-off-by: BoHong Li <[email protected]>
  • Loading branch information
a60814billy committed Oct 22, 2019
1 parent 56cc64e commit d0b02af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit d0b02af

Please sign in to comment.