Xmaster6y commited on
Commit
efbe277
1 Parent(s): ecf3b9c
Files changed (2) hide show
  1. Dockerfile +1 -2
  2. entrypoint.sh +0 -4
Dockerfile CHANGED
@@ -15,5 +15,4 @@ COPY --chown=user ./uv.lock /app/uv.lock
15
  RUN uv sync
16
 
17
  COPY --chown=user . /app
18
- RUN chmod +x /app/entrypoint.sh
19
- ENTRYPOINT ["/app/entrypoint.sh"]
 
15
  RUN uv sync
16
 
17
  COPY --chown=user . /app
18
+ CMD ["uv", "run", "uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
entrypoint.sh DELETED
@@ -1,4 +0,0 @@
1
- # Entrypoint
2
-
3
- echo "Starting the application..."
4
- uv run uvicorn api.main:app --host 0.0.0.0 --port 8000