Added wait-for-it.sh script

This commit is contained in:
PB
2022-12-07 02:42:58 +01:00
parent 653224943b
commit cff0644ccb
5 changed files with 202 additions and 2 deletions

View File

@@ -20,6 +20,10 @@ LABEL dev.egommerce.image.build_time=${BUILD_TIME}
WORKDIR /
COPY --from=builder $BIN_OUTPUT /app
COPY .env.dist /.env
COPY ./bin/entrypoint.sh ./bin/wait-for-it.sh /
RUN chmod 755 /entrypoint.sh
EXPOSE 80
ENTRYPOINT ["/app"]
CMD ["/app"]
ENTRYPOINT ["/entrypoint.sh"]