Add separate Dockerfile for anaconda

Brad Fanella 4 years ago
parent 16a6747686
commit d536bb9eb7

@ -1,7 +1,5 @@
FROM continuumio/conda-ci-linux-64-python3.8
USER root
FROM tensorflow/tensorflow:2.2.0
COPY . /app/
RUN conda install -c anaconda tensorflow=2.2.0 pip
RUN pip install -r /app/requirements.txt
EXPOSE 5000
WORKDIR /app

@ -0,0 +1,8 @@
FROM continuumio/conda-ci-linux-64-python3.8
USER root
COPY . /app/
RUN conda install -c anaconda tensorflow=2.2.0 pip
RUN pip install -r /app/requirements.txt
EXPOSE 5000
WORKDIR /app
ENTRYPOINT ["python3","app.py"]
Loading…
Cancel
Save