Merge pull request #1859 from automatisch/remove-docker-cloud-entrypoint

chore(docker): remove cloud entrypoint
This commit is contained in:
Ömer Faruk Aydın
2024-05-03 15:16:20 +02:00
committed by GitHub
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