We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b22480 commit dd39b9fCopy full SHA for dd39b9f
1 file changed
backend/Dockerfile
@@ -40,5 +40,5 @@ COPY ./app /app/app
40
RUN --mount=type=cache,target=/root/.cache/uv \
41
uv sync
42
43
-# Run migrations and create superuser before starting the server
44
-CMD ["sh", "-c", "alembic upgrade head && python -c 'from app.main import create_superuser; create_superuser()' && uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]
+# Run migrations before starting the server
+CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]
0 commit comments