jonas-verhellen commited on
Commit
4d79ba4
1 Parent(s): 2911719

chmod with CMD

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -26,5 +26,5 @@ WORKDIR $HOME/app
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
  COPY --chown=user . $HOME/app
28
 
29
- CMD ["chmod a+x ./run.sh"]
30
  CMD ["./run.sh"]
 
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
  COPY --chown=user . $HOME/app
28
 
29
+ RUN ["chmod", "+x", "./run.sh"]
30
  CMD ["./run.sh"]