Skip to content

Commit ae41542

Browse files
committed
Update Dockerfile for production environment configuration and expose port
1 parent dc7b991 commit ae41542

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ COPY . /app
1818
# Sync the project
1919
RUN uv sync --frozen
2020

21-
CMD [ "uv", "run", "fastapi", "dev", "./src/transcribo_backend/app.py" ]
21+
ENV ENVIRONMENT=production
22+
ENV PORT=8000
23+
24+
EXPOSE $PORT
25+
26+
CMD [ "uv", "run", "fastapi", "run", "./src/transcribo_backend/app.py" ]

0 commit comments

Comments
 (0)