anchor commited on
Commit
fe8496e
1 Parent(s): f0d0382

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -41,6 +41,11 @@ RUN echo "export PYTHONPATH=\${PYTHONPATH}:/home/user/app/MuseV:/home/user/app/M
41
  WORKDIR /home/user/app/MuseV/scripts/gradio/
42
  RUN ls -l ./
43
 
 
 
 
 
44
  EXPOSE 7860
45
 
46
- CMD ["/bin/bash", "-c", "python app.py"]
 
 
41
  WORKDIR /home/user/app/MuseV/scripts/gradio/
42
  RUN ls -l ./
43
 
44
+ # Add entrypoint script
45
+ COPY --chown=user entrypoint.sh ./entrypoint.sh
46
+ RUN chmod +x ./entrypoint.sh
47
+
48
  EXPOSE 7860
49
 
50
+ # CMD ["/bin/bash", "-c", "python app.py"]
51
+ CMD ["./entrypoint.sh"]