# 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"]