File size: 539 Bytes
f0b16b9
c766d65
8bdf52a
c766d65
9a25e9f
 
 
12761b6
8bdf52a
 
c766d65
8bdf52a
 
 
 
af0069b
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", "-d", "/app/data"]