root commited on
Commit
ea8b1aa
1 Parent(s): 6defa3d

change dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -61,5 +61,15 @@ ENV ZENML_LOGGING_VERBOSITY=DEBUG
61
  # ENV ZENML_SECRETS_STORE_VAULT_NAMESPACE=""
62
  # ENV ZENML_SECRETS_STORE_MAX_VERSIONS=""
63
 
 
 
 
 
 
 
 
64
  ENTRYPOINT ["uvicorn", "zenml.zen_server.zen_server_api:app", "--log-level", "debug"]
65
- CMD ["--proxy-headers", "--port", "8080", "--host", "0.0.0.0"]
 
 
 
 
61
  # ENV ZENML_SECRETS_STORE_VAULT_NAMESPACE=""
62
  # ENV ZENML_SECRETS_STORE_MAX_VERSIONS=""
63
 
64
+ WORKDIR /app
65
+
66
+ RUN pip install --upgrade pip
67
+ COPY requirements.txt .
68
+ RUN pip install -r requirements.txt
69
+ COPY . .
70
+
71
  ENTRYPOINT ["uvicorn", "zenml.zen_server.zen_server_api:app", "--log-level", "debug"]
72
+
73
+ CMD ["python", "pipelines/trainig_pipeline.py"]
74
+
75
+ CMD ["--proxy-headers", "--port", "8080", "--host", "dangtruonghsgs-film-mlmodule.hf.space"]