Commit
•
cb587cd
1
Parent(s):
3cbdcd2
Fixing run script
Browse files- 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 |
-
#
|
73 |
-
|
|
|
|
|
|
|
|
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"]
|