Spaces:
Sleeping
Sleeping
Commit
•
a63a7e9
1
Parent(s):
3a19756
Fixing run.sh location
Browse files- 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/
|
74 |
|
75 |
# Ensure run.sh is executable
|
76 |
-
RUN chmod +x $HOME/
|
77 |
|
78 |
# Set the CMD to run your script
|
79 |
-
CMD ["
|
|
|
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"]
|