Spaces:
Running
Running
# This is the dockerfile for dockerhub fuxialexander/getdemo:latest | |
FROM fuxialexander/get_model:latest | |
# Set the working directory in the container to /app | |
WORKDIR /app | |
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | |
# copy modules from local to container | |
COPY --chown=$MAMBA_USER:$MAMBA_USER app/main.py /app/main.py | |
# Make port 80 available to the world outside this container | |
EXPOSE 7860 | |
# Command to run the Gradio app automatically | |
CMD ["/opt/conda/bin/python", "main.py"] | |