Added wait-for-it.sh script
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user