Skip to content

Commit dd39b9f

Browse files
committed
Revert "Update Dockerfile"
This reverts commit 9b22480.
1 parent 9b22480 commit dd39b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ COPY ./app /app/app
4040
RUN --mount=type=cache,target=/root/.cache/uv \
4141
uv sync
4242

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}"]
43+
# Run migrations before starting the server
44+
CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]

0 commit comments

Comments
 (0)