rasmodev commited on
Commit
9dd9f38
·
1 Parent(s): ac0fe6c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -4,14 +4,14 @@ FROM python:3.11.3-slim
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
 
 
 
7
  # Copy your FastAPI application code into the container
8
  COPY ./app.py /app
9
 
10
- # Copy the .env file containing the API Key into the container
11
- COPY ./.env /app
12
-
13
  # Copy the requirements.txt file into the container
14
- COPY ./requirements.txt /app
15
 
16
  # Install the Python dependencies
17
  RUN pip install -r /app/requirements.txt
 
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
7
+ # Copy the .env file containing the API Key into the container
8
+ COPY ./.env /app/.env
9
+
10
  # Copy your FastAPI application code into the container
11
  COPY ./app.py /app
12
 
 
 
 
13
  # Copy the requirements.txt file into the container
14
+ COPY ./requirements.txt /app/requirements.txt
15
 
16
  # Install the Python dependencies
17
  RUN pip install -r /app/requirements.txt