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 FROM tensorflow/tensorflow:2.2.0
USER root
COPY . /app/ COPY . /app/
RUN conda install -c anaconda tensorflow=2.2.0 pip
RUN pip install -r /app/requirements.txt RUN pip install -r /app/requirements.txt
EXPOSE 5000 EXPOSE 5000
WORKDIR /app 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