using cmd
Browse files- Dockerfile +1 -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 |
-
|
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
|
|
|
|
|
|
|
|
|
|