derek-thomas HF staff commited on
Commit
cb587cd
1 Parent(s): 3cbdcd2

Fixing run script

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