fffiloni commited on
Commit
06e59b9
·
verified ·
1 Parent(s): 6e9a86d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -36,5 +36,8 @@ WORKDIR $HOME/app
36
  RUN python3 -m pip install --upgrade pip && \
37
  python3 -m pip install --no-cache-dir gradio
38
 
 
 
 
39
  # Command to run the Gradio app
40
  CMD ["python3", "app.py"]
 
36
  RUN python3 -m pip install --upgrade pip && \
37
  python3 -m pip install --no-cache-dir gradio
38
 
39
+ # Copy the app.py file from the host to the container
40
+ COPY --chown=user:user app.py .
41
+
42
  # Command to run the Gradio app
43
  CMD ["python3", "app.py"]