Skip to content

Commit

Permalink
fix(datahub-frontend) Give permission for start.sh so it can run (#8594)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtekal authored Aug 31, 2023
1 parent 4c69f9a commit e7d140f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/datahub-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ FROM base as dev-install
VOLUME [ "/datahub-frontend" ]

FROM ${APP_ENV}-install as final
COPY ./docker/datahub-frontend/start.sh /
RUN chown datahub:datahub /start.sh && chmod 755 /start.sh
USER datahub

ARG SERVER_PORT=9002
Expand All @@ -37,5 +39,4 @@ RUN echo $SERVER_PORT
EXPOSE $SERVER_PORT

HEALTHCHECK --start-period=2m --retries=4 CMD curl --fail http://localhost:$SERVER_PORT/admin || exit 1
COPY ./docker/datahub-frontend/start.sh /
CMD ./start.sh

0 comments on commit e7d140f

Please sign in to comment.