Browse Source

Update Dockerfile for entrypoint.sh execution

exec of entrypoint.sh was giving an operation not permitted. The file did not have execution permission. Adding the line to add the execution permission and test ok.
pull/3903/head
JN Brisset 11 months ago
committed by GitHub
parent
commit
e02388b67c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      Dockerfile

1
Dockerfile

@ -61,6 +61,7 @@ RUN apt-get update && apt-get install -y --no-install-suggests \
COPY --chown=node:node --from=builder /ghostfolio/dist/apps /ghostfolio/apps COPY --chown=node:node --from=builder /ghostfolio/dist/apps /ghostfolio/apps
COPY --chown=node:node ./docker/entrypoint.sh /ghostfolio/entrypoint.sh COPY --chown=node:node ./docker/entrypoint.sh /ghostfolio/entrypoint.sh
RUN chmod 0700 /ghostfolio/entrypoint.sh
WORKDIR /ghostfolio/apps/api WORKDIR /ghostfolio/apps/api
EXPOSE ${PORT:-3333} EXPOSE ${PORT:-3333}
USER node USER node

Loading…
Cancel
Save