chore(docker): remove cloud entrypoint
This commit is contained in:
@@ -18,7 +18,7 @@ RUN \
|
|||||||
rm -rf /usr/local/share/.cache/ && \
|
rm -rf /usr/local/share/.cache/ && \
|
||||||
apk del build-dependencies
|
apk del build-dependencies
|
||||||
|
|
||||||
COPY ./docker/entrypoint-cloud.sh /entrypoint-cloud.sh
|
COPY ./docker/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENTRYPOINT ["sh", "/entrypoint-cloud.sh"]
|
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
||||||
|
@@ -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
|
|
Reference in New Issue
Block a user