Spaces:
Sleeping
Sleeping
File size: 555 Bytes
7a76759 3d28794 7a76759 976d28c 42cff68 796ef63 7a76759 d6ed115 7ca9698 7a76759 0a73200 7ca9698 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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
# Copy configuration file
COPY risk_assessment.yaml .
# Expose the gaf guard server port
EXPOSE 8000
CMD ["python", "gaf_guard/redirect.py", "serve", "--config", "risk_assessment.yaml", "--host", "0.0.0.0"]
|