Spaces:
Runtime error
Runtime error
changed to guicorn
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use the official Python image as base image
|
2 |
-
FROM python:3.9
|
3 |
|
4 |
RUN apt-get update && apt-get install -y \
|
5 |
python3.10 python3-pip \
|
@@ -41,4 +41,4 @@ EXPOSE 8080
|
|
41 |
ENV NAME World
|
42 |
|
43 |
# Command to run on container start
|
44 |
-
CMD [ "gunicorn", "--bind", "
|
|
|
1 |
# Use the official Python image as base image
|
2 |
+
FROM python:3.9-slim
|
3 |
|
4 |
RUN apt-get update && apt-get install -y \
|
5 |
python3.10 python3-pip \
|
|
|
41 |
ENV NAME World
|
42 |
|
43 |
# Command to run on container start
|
44 |
+
CMD [ "gunicorn", "--bind", "127.0.0.1:8080", "librarymed.main:app" ]
|