mirror of https://github.com/status-im/codimd.git
fix: wrong permission caused user cannot upload image in docker
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
56cc64e910
commit
d0b02af144
|
@ -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