diff --git a/Dockerfile b/Dockerfile index 23593cd13..1814c0ca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,4 +35,7 @@ COPY --from=build-stage /app/dist /app/dist RUN rm -rf /app/test /app/.temp VOLUME [ "/app/data/" ] -CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"] +RUN chmod +x run.sh +CMD script.sh + +# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"] diff --git a/mealie/run.sh b/mealie/run.sh index 9be2b887e..1c72a05d6 100644 --- a/mealie/run.sh +++ b/mealie/run.sh @@ -1,3 +1,5 @@ +#!/bin/sh + ## Migrations # TODO @@ -5,4 +7,4 @@ caddy start --config ./Caddyfile ## Start API -uvicorn app:app --host 0.0.0.0 --port 80 \ No newline at end of file +uvicorn app:app --host 0.0.0.0 --port 9000 \ No newline at end of file