Browse Source

feat: add bash before entrypoint.sh in Dockerfile (#592)

John Wang 1 year ago
parent
commit
b0091452ca
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/Dockerfile
  2. 1 1
      web/Dockerfile

+ 1 - 1
api/Dockerfile

@@ -27,4 +27,4 @@ RUN chmod +x /entrypoint.sh
 ARG COMMIT_SHA
 ENV COMMIT_SHA ${COMMIT_SHA}
 
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

+ 1 - 1
web/Dockerfile

@@ -26,4 +26,4 @@ RUN chmod +x /entrypoint.sh
 ARG COMMIT_SHA
 ENV COMMIT_SHA ${COMMIT_SHA}
 
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]