gamingflexer commited on
Commit
e69af58
1 Parent(s): 2e9acdc

added docker args

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -1
Dockerfile CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  FROM python:3.9
2
 
3
  WORKDIR /code
@@ -14,7 +22,15 @@ USER user
14
 
15
  # Set home to the user's home directory
16
  ENV HOME=/home/user \
17
- PATH=/home/user/.local/bin:$PATH
 
 
 
 
 
 
 
 
18
 
19
  # Set the working directory to the user's home directory
20
  WORKDIR $HOME/app
 
1
+ ARG OPENAI_API_KEY
2
+ ARG COPY_LEAKS_API
3
+ ARG SERP_API_KEY
4
+ ARG SUPABASE_KEY
5
+ ARG SUPABASE_URL
6
+ ARG COPY_LEAKS_EMAIL_ADDRESS
7
+ ARG COPY_LEAKS_EMAIL_KEY
8
+
9
  FROM python:3.9
10
 
11
  WORKDIR /code
 
22
 
23
  # Set home to the user's home directory
24
  ENV HOME=/home/user \
25
+ PATH=/home/user/.local/bin:$PATH \
26
+ OPENAI_API_KEY=$OPENAI_API_KEY \
27
+ COPY_LEAKS_API=$COPY_LEAKS_API \
28
+ SERP_API_KEY=$SERP_API_KEY \
29
+ SUPABASE_KEY=$SUPABASE_KEY \
30
+ SUPABASE_URL=$SUPABASE_URL \
31
+ COPY_LEAKS_EMAIL_ADDRESS=$COPY_LEAKS_EMAIL_ADDRESS \
32
+ COPY_LEAKS_EMAIL_KEY=$COPY_LEAKS_EMAIL_KEY
33
+
34
 
35
  # Set the working directory to the user's home directory
36
  WORKDIR $HOME/app