JIMMYGGG commited on
Commit
92b819f
·
verified ·
1 Parent(s): 68c343b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,8 +1,11 @@
1
  # Use the base image from the original command
2
  FROM snailyp/blackbox2api:latest
3
 
 
 
 
4
  # Expose the port on which the application will run
5
  EXPOSE 8001
6
 
7
  # Define the command that starts the application
8
- CMD ["python", "app.py"]
 
1
  # Use the base image from the original command
2
  FROM snailyp/blackbox2api:latest
3
 
4
+ # Set the environment variable for the app secret
5
+ ENV APP_SECRET=自定义api_key
6
+
7
  # Expose the port on which the application will run
8
  EXPOSE 8001
9
 
10
  # Define the command that starts the application
11
+ CMD ["python", "app.py"]