kostis-init commited on
Commit
a475949
Β·
1 Parent(s): 1cb4bfb

update Dockerfile to expose Gradio port and set library path

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -34,5 +34,9 @@ RUN pip install --no-cache-dir -r requirements.txt
34
  # Environment variables for MiniZinc
35
  ENV MZN_DIR=/opt/minizinc
36
  ENV PATH="${MZN_DIR}/bin:${PATH}"
 
 
 
 
37
 
38
  CMD ["python", "app.py"]
 
34
  # Environment variables for MiniZinc
35
  ENV MZN_DIR=/opt/minizinc
36
  ENV PATH="${MZN_DIR}/bin:${PATH}"
37
+ ENV LD_LIBRARY_PATH="${MZN_DIR}/lib:${LD_LIBRARY_PATH}"
38
+
39
+ # Expose the port Gradio runs on
40
+ EXPOSE 7860
41
 
42
  CMD ["python", "app.py"]