Niansuh commited on
Commit
4f4f8e4
·
verified ·
1 Parent(s): de45371

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -7
Dockerfile CHANGED
@@ -8,12 +8,13 @@ ENV PYTHONUNBUFFERED=1 \
8
  # Set the working directory inside the container
9
  WORKDIR /app
10
 
11
- # Install system dependencies
12
- RUN apt-get update && apt-get install -y \
13
- build-essential \
14
- libssl-dev \
15
- libffi-dev \
16
- && rm -rf /var/lib/apt/lists/*
 
17
 
18
  # Copy the requirements file into the container
19
  COPY requirements.txt .
@@ -31,4 +32,4 @@ COPY . .
31
  EXPOSE 8000
32
 
33
  # Define the default command to run the application using Uvicorn
34
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
8
  # Set the working directory inside the container
9
  WORKDIR /app
10
 
11
+ # Install system dependencies (if any)
12
+ # Uncomment the following lines if your application requires additional system packages
13
+ # RUN apt-get update && apt-get install -y \
14
+ # build-essential \
15
+ # libssl-dev \
16
+ # libffi-dev \
17
+ # && rm -rf /var/lib/apt/lists/*
18
 
19
  # Copy the requirements file into the container
20
  COPY requirements.txt .
 
32
  EXPOSE 8000
33
 
34
  # Define the default command to run the application using Uvicorn
35
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]