IAMJB HF staff commited on
Commit
c2eb186
1 Parent(s): 3dde8a0

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -22,5 +22,9 @@ COPY app.py .
22
  # Expose the port Dash will run on
23
  EXPOSE 7860
24
 
 
 
 
 
25
  # Run the app
26
  CMD ["python", "app.py"]
 
22
  # Expose the port Dash will run on
23
  EXPOSE 7860
24
 
25
+ # Example of using a build-time secret
26
+ RUN --mount=type=secret,id=MATERIALS_PROJECT_API_KEY \
27
+ echo "Using secret during build"
28
+
29
  # Run the app
30
  CMD ["python", "app.py"]