Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Exit script on error (#426)

Luke Vella1b65162ca9b0
diff --git a/Dockerfile b/Dockerfile
index f93c76fce..441336023 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,6 @@ EXPOSE 3000
WORKDIR /usr/src/app
COPY --from=build /app .
-COPY docker_start.sh .
+COPY docker-start.sh .
-ENTRYPOINT [ "./docker_start.sh" ]
+ENTRYPOINT ["./docker-start.sh"]
diff --git a/docker_start.sh b/docker-start.sh
similarity index 91%
rename from docker_start.sh
rename to docker-start.sh
index 7c3c0a2d2..2b81e57be 100755
--- a/docker_start.sh
+++ b/docker-start.sh
@@ -1,3 +1,4 @@
#!/bin/sh
+set -e
yarn prisma migrate deploy --schema prisma/schema.prisma
yarn start