Spaces:
Sleeping
Sleeping
File size: 549 Bytes
f0b16b9 c766d65 8bdf52a c766d65 9a25e9f 12761b6 8bdf52a c766d65 8bdf52a c766d65 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# This is the dockerfile for the Gradio app on huggingface
FROM fuxialexander/getdemo:latest
# Switch to mambauser with updated UID
USER $MAMBA_USER
# Set the working directory in the container to /app
WORKDIR /app
ARG MAMBA_DOCKERFILE_ACTIVATE=1
COPY --chown=$MAMBA_USER:$MAMBA_USER app/main.py /app/app/main.py
# Set the working directory where your app resides
# Command to run the Gradio app automatically
CMD ["python", "/app/app/main.py", "-n", "0.0.0.0", "-p", "7860", "-u", "s3://2023-get-xf2217/get_demo_test_data", "-d", "/app/data"]
|