martynka commited on
Commit
851dbfc
·
verified ·
1 Parent(s): 2c7585d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -31
Dockerfile CHANGED
@@ -92,37 +92,8 @@ if __name__ == "__main__":
92
  EOF
93
 
94
  # ===== Caddy Configuration =====
95
- COPY <<"EOF" /etc/caddy/Caddyfile
96
- {
97
- admin off
98
- auto_https off
99
- }
100
-
101
- :7860 {
102
- # LibreChat API (protected)
103
- handle_path /api/* {
104
- reverse_proxy localhost:3080
105
- }
106
-
107
- # Sudo API endpoints
108
- handle_path /sudo/* {
109
- reverse_proxy localhost:5000
110
- }
111
-
112
- # Sudo panel static files
113
- handle_path /sudo-panel/* {
114
- root * /app/sudo
115
- file_server
116
- }
117
-
118
- # Main LibreChat frontend
119
- handle {
120
- root * /app/client/dist
121
- try_files {path} /index.html
122
- file_server
123
- }
124
- }
125
- EOF
126
 
127
 
128
  # Startup script
 
92
  EOF
93
 
94
  # ===== Caddy Configuration =====
95
+ copy Caddy /etc/caddy/Caddyfile
96
+ ##################################
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
 
99
  # Startup script