stnh70 commited on
Commit
054f33d
·
verified ·
1 Parent(s): 5920b78

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official base image specified in the docker run command
2
+ FROM ghcr.io/yushangxiao/claude2api:latest
3
+
4
+ # Set environment variables with default values that can be overridden
5
+ ENV SESSIONS=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
6
+ ENV APIKEY=197346
7
+ ENV CHAT_DELETE=true
8
+ ENV MAX_CHAT_HISTORY_LENGTH=10000
9
+ ENV NO_ROLE_PREFIX=false
10
+ ENV PROMPT_DISABLE_ARTIFACTS=true
11
+ ENV ENABLE_MIRROR_API=false
12
+ ENV MIRROR_API_PREFIX=
13
+
14
+ # Expose the port
15
+ EXPOSE 8080
16
+
17
+ # The entrypoint and cmd are typically defined in the base image,
18
+ # so we don't need to specify them here unless you want to override