Do0rMaMu commited on
Commit
bb70bae
·
verified ·
1 Parent(s): 711e1cc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -4,15 +4,6 @@ FROM python:3.10-slim
4
  # Set the working directory in the container
5
  WORKDIR /code
6
 
7
- # Install system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- gcc \
10
- libc-dev \
11
- libmysqlclient-dev \
12
- default-libmysqlclient-dev \
13
- pkg-config \
14
- && apt-get clean
15
-
16
  # Copy the current directory contents into the container at /usr/src/app
17
  COPY . .
18
 
@@ -22,5 +13,7 @@ RUN pip install -r requirements.txt
22
  # Make port 8000 available to the world outside this container
23
  EXPOSE 8000
24
 
 
25
  # Run app.py when the container launches
26
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
4
  # Set the working directory in the container
5
  WORKDIR /code
6
 
 
 
 
 
 
 
 
 
 
7
  # Copy the current directory contents into the container at /usr/src/app
8
  COPY . .
9
 
 
13
  # Make port 8000 available to the world outside this container
14
  EXPOSE 8000
15
 
16
+
17
  # Run app.py when the container launches
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
19
+