derek-thomas HF staff commited on
Commit
a63a7e9
1 Parent(s): 3a19756

Fixing run.sh location

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -70,10 +70,10 @@ ENV HOME=/home/user \
70
  #CMD ["text-generation-launcher", "--json-output"]
71
 
72
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
73
- COPY --chown=user . $HOME/app
74
 
75
  # Ensure run.sh is executable
76
- RUN chmod +x $HOME/app/run.sh
77
 
78
  # Set the CMD to run your script
79
- CMD ["./run.sh"]
 
70
  #CMD ["text-generation-launcher", "--json-output"]
71
 
72
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
73
+ COPY --chown=user . $HOME/
74
 
75
  # Ensure run.sh is executable
76
+ RUN chmod +x $HOME/run.sh
77
 
78
  # Set the CMD to run your script
79
+ CMD ["/home/user/run.sh"]