File size: 509 Bytes
e6db589
 
07b902d
e6db589
07b902d
e6db589
 
 
07b902d
e6db589
 
07b902d
e6db589
07b902d
 
5a66c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile

FROM dsalwala/gaf-guard-server:slim

# Set home to the user's home directory
ENV HOME=/home/user \
    PATH=/home/user/.local/bin:$PATH

# Set the working directory to the user's home directory
WORKDIR $HOME/app

# Expose the gaf guard server port
EXPOSE 8501

ENTRYPOINT ["streamlit", "run", "gaf_guard/clients/streamlit.py", "--server.port=8501", "--server.address=0.0.0.0"]