atikur-rabbi commited on
Commit
01b152a
1 Parent(s): e54bb6d
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. scripts/config.sh +1 -1
Dockerfile CHANGED
@@ -31,6 +31,7 @@ RUN mkdir easy-diffusion
31
  COPY . /home/huggingface/easy-diffusion
32
 
33
  EXPOSE 9000
 
34
 
35
  RUN chown -R huggingface /home/huggingface/easy-diffusion
36
  RUN chmod -R u+x /home/huggingface/easy-diffusion
 
31
  COPY . /home/huggingface/easy-diffusion
32
 
33
  EXPOSE 9000
34
+ EXPOSE $PORT
35
 
36
  RUN chown -R huggingface /home/huggingface/easy-diffusion
37
  RUN chmod -R u+x /home/huggingface/easy-diffusion
scripts/config.sh CHANGED
@@ -3,4 +3,4 @@
3
  # export port to environment variable SD_UI_BIND_PORT
4
  # so that it can be used by other scripts
5
 
6
- export SD_UI_BIND_PORT=9990||${port}
 
3
  # export port to environment variable SD_UI_BIND_PORT
4
  # so that it can be used by other scripts
5
 
6
+ export SD_UI_BIND_PORT=9990||${PORT}