priaansh commited on
Commit
ccd8475
·
verified ·
1 Parent(s): 6f9e9a5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -19,6 +19,15 @@ RUN --mount=type=secret,id=S3_BUCKET_NAME,required=true \
19
  RUN --mount=type=secret,id=S3_REGION,required=true \
20
  export S3_REGION=$(cat /run/secrets/S3_REGION)
21
 
 
 
 
 
 
 
 
 
 
22
  # Re-export as ENV so the Python app can access them
23
  ENV API_KEY=$API_KEY \
24
  S3_ENDPOINT_URL=$S3_ENDPOINT_URL \
 
19
  RUN --mount=type=secret,id=S3_REGION,required=true \
20
  export S3_REGION=$(cat /run/secrets/S3_REGION)
21
 
22
+
23
+ # Install Python dependencies
24
+ COPY requirements.txt .
25
+ RUN pip install --upgrade pip
26
+ RUN pip install --no-cache-dir -r requirements.txt
27
+
28
+ # Copy project
29
+ COPY . .
30
+
31
  # Re-export as ENV so the Python app can access them
32
  ENV API_KEY=$API_KEY \
33
  S3_ENDPOINT_URL=$S3_ENDPOINT_URL \