mirror of
https://github.com/Toumash/mlflow-docker
synced 2025-11-04 23:29:19 +01:00
dev commit
This commit is contained in:
24
another/Dockerfile
Normal file
24
another/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM python:3.7.0
|
||||
LABEL maintainer="Albert Franzi"
|
||||
|
||||
ENV MLFLOW_HOME /opt/mlflow
|
||||
ENV SERVER_PORT 5000
|
||||
ENV SERVER_HOST 0.0.0.0
|
||||
ENV FILE_STORE ${MLFLOW_HOME}/fileStore
|
||||
ENV ARTIFACT_STORE ${MLFLOW_HOME}/artifactStore
|
||||
|
||||
RUN pip install mlflow && \
|
||||
mkdir -p ${MLFLOW_HOME}/scripts && \
|
||||
mkdir -p ${FILE_STORE} && \
|
||||
mkdir -p ${ARTIFACT_STORE}
|
||||
|
||||
COPY scripts/run.sh ${MLFLOW_HOME}/scripts/run.sh
|
||||
RUN chmod +x ${MLFLOW_HOME}/scripts/run.sh
|
||||
|
||||
EXPOSE ${SERVER_PORT}/tcp
|
||||
|
||||
VOLUME ["${MLFLOW_HOME}/scripts/", "${FILE_STORE}", "${ARTIFACT_STORE}"]
|
||||
|
||||
WORKDIR ${MLFLOW_HOME}
|
||||
|
||||
ENTRYPOINT ["./scripts/run.sh"]
|
||||
Reference in New Issue
Block a user