aeiche01 commited on
Commit
ad7ec57
·
verified ·
1 Parent(s): 8ad3119

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -12,6 +12,10 @@ COPY /pages ./pages
12
 
13
  ENV PROJ_LIB='/opt/conda/share/proj'
14
 
 
 
 
 
15
  USER root
16
  RUN chown -R ${NB_UID} ${HOME}
17
  USER ${NB_USER}
 
12
 
13
  ENV PROJ_LIB='/opt/conda/share/proj'
14
 
15
+ # ---- Add these lines ----
16
+ ENV UVICORN_PROXY_HEADERS=1
17
+ ENV FORWARDED_ALLOW_IPS="*"
18
+
19
  USER root
20
  RUN chown -R ${NB_UID} ${HOME}
21
  USER ${NB_USER}