raygiles3 commited on
Commit
75c077d
·
verified ·
1 Parent(s): f73793e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -7
Dockerfile CHANGED
@@ -10,16 +10,16 @@ RUN pip install -r requirements.txt
10
  # REMOVE THIS WHEN DEPLOYING TO CODE ENGINE
11
 
12
  # Copy the self-signed root CA certificate into the container
13
- COPY certs/rootCA.crt /usr/local/share/ca-certificates/rootCA.crt
14
 
15
  # Update the CA trust store to trust the self-signed certificate
16
- RUN chmod 644 /usr/local/share/ca-certificates/rootCA.crt && \
17
- update-ca-certificates
18
 
19
  # Set the environment variable OPENAI_API_KEY to empty string
20
- ENV OPENAI_API_KEY=skills-network
21
- ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
22
- ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
23
  # -----------------------------------------------------------------
24
 
25
- CMD ["python", "-u", "server.py"]
 
10
  # REMOVE THIS WHEN DEPLOYING TO CODE ENGINE
11
 
12
  # Copy the self-signed root CA certificate into the container
13
+ # COPY certs/rootCA.crt /usr/local/share/ca-certificates/rootCA.crt
14
 
15
  # Update the CA trust store to trust the self-signed certificate
16
+ # RUN chmod 644 /usr/local/share/ca-certificates/rootCA.crt && \
17
+ # update-ca-certificates
18
 
19
  # Set the environment variable OPENAI_API_KEY to empty string
20
+ # ENV OPENAI_API_KEY=skills-network
21
+ # ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
22
+ # ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
23
  # -----------------------------------------------------------------
24
 
25
+ CMD ["python", "-u", "app.py"]