7ea73e75f3
Some checks failed
s444417-training/pipeline/head There was a failure building this commit
23 lines
564 B
Docker
23 lines
564 B
Docker
FROM ubuntu:latest
|
|
|
|
FROM tensorflow/tensorflow:latest
|
|
|
|
FROM continuumio/miniconda3:latest
|
|
|
|
RUN apt update && apt install -y
|
|
RUN apt-get install -y unzip
|
|
RUN apt-get install unzip
|
|
RUN apt-get install wget
|
|
|
|
WORKDIR /app
|
|
|
|
# Create the environment:
|
|
COPY environment.yml .
|
|
RUN conda env create -f environment.yml
|
|
|
|
# Make RUN commands use the new environment:
|
|
SHELL ["conda", "run", "-n", "myenv", "/bin/bash", "-c"]
|
|
|
|
# The code to run when container is started:
|
|
COPY . .
|
|
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "myenv", "python", "lab8/trainScript.py"] |