mirror of https://github.com/status-im/codimd.git
Merge pull request #1313 from hackmdio/fix/image-upload-permission
fix: image upload caused permission denied error in docker
This commit is contained in:
commit
e03a326c26
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue