chore(docker): remove cloud entrypoint

This commit is contained in:
Ali BARIN
2024-05-03 13:12:35 +00:00
parent a709565336
commit 29e9e012a5
2 changed files with 2 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ RUN \
rm -rf /usr/local/share/.cache/ && \
apk del build-dependencies
COPY ./docker/entrypoint-cloud.sh /entrypoint-cloud.sh
COPY ./docker/entrypoint.sh /entrypoint.sh
EXPOSE 3000
ENTRYPOINT ["sh", "/entrypoint-cloud.sh"]
ENTRYPOINT ["sh", "/entrypoint.sh"]

View File

@@ -1,13 +0,0 @@
#!/bin/sh
set -e
cd packages/backend
if [ -n "$WORKER" ]; then
yarn start:worker
else
yarn db:migrate
yarn db:seed:user
yarn start
fi