Spaces:
Runtime error
Runtime error
Add permission setting for script file
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -29,6 +29,9 @@ EXPOSE 8501
|
|
| 29 |
# The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working. Your container needs to listen to Streamlit’s (default) port 8501:
|
| 30 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
# Run the command inside your image filesystem.
|
| 33 |
CMD ["python", "train_llm.py"]
|
| 34 |
|
|
|
|
| 29 |
# The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working. Your container needs to listen to Streamlit’s (default) port 8501:
|
| 30 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 31 |
|
| 32 |
+
# Set the permissions for the script file
|
| 33 |
+
# RUN chmod +x python 3 train_llm.py
|
| 34 |
+
|
| 35 |
# Run the command inside your image filesystem.
|
| 36 |
CMD ["python", "train_llm.py"]
|
| 37 |
|