SamMec commited on
Commit
7e5d283
·
1 Parent(s): caa0999

modif in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -34,11 +34,6 @@ COPY --chown=user . $HOME/app
34
  COPY requirements.txt /requirements.txt
35
  RUN pip install -r /requirements.txt
36
 
37
- ENV AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
38
- ENV AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
39
- ENV BACKEND_STORE_URI=$BACKEND_STORE_URI
40
- ENV ARTIFACT_STORE_URI=$ARTIFACT_STORE_URI
41
-
42
  # Launch mlflow server
43
  # Here we chose to have $PORT as environment variable but you could have hard coded 7860
44
  # If you are sure to push into production
@@ -47,7 +42,6 @@ ENV ARTIFACT_STORE_URI=$ARTIFACT_STORE_URI
47
  CMD mlflow server -p $PORT \
48
  --host 0.0.0.0 \
49
  --backend-store-uri $BACKEND_STORE_URI \
50
- --default-artifact-root $ARTIFACT_STORE_URI \
51
- --allowed-hosts "*"
52
 
53
 
 
34
  COPY requirements.txt /requirements.txt
35
  RUN pip install -r /requirements.txt
36
 
 
 
 
 
 
37
  # Launch mlflow server
38
  # Here we chose to have $PORT as environment variable but you could have hard coded 7860
39
  # If you are sure to push into production
 
42
  CMD mlflow server -p $PORT \
43
  --host 0.0.0.0 \
44
  --backend-store-uri $BACKEND_STORE_URI \
45
+ --default-artifact-root $ARTIFACT_STORE_URI
 
46
 
47