frasan commited on
Commit
6272fe5
·
1 Parent(s): fb3ab16

changed to guicorn

Browse files
Files changed (1) hide show
  1. 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", "0.0.0.0:8080", "librarymed.main:app" ]
 
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" ]