Spaces:
Sleeping
Sleeping
File size: 477 Bytes
276b288 be5548b 276b288 be5548b 67eafed be5548b 200df64 be5548b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# Dockerfile for the Huggingface spaces Demo
FROM python:3.7
WORKDIR /code
# Install graphviz
RUN apt-get update && \
apt-get install -y graphviz && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY . .
RUN chmod -R 777 /code
RUN pip install --upgrade -r web_demo/requirements.txt
RUN pip install -e gym-minigrid
#EXPOSE 7860
CMD ["python", "-m", "web_demo.app"]
# docker build -t sai_demo -f web_demo/Dockerfile .
# docker run -p 7860:7860 sai_demo
|