ium_444417/Dockerfile

23 lines
564 B
Docker
Raw Normal View History

2022-04-03 12:24:05 +02:00
FROM ubuntu:latest
2022-04-10 19:55:37 +02:00
FROM tensorflow/tensorflow:latest
2022-05-20 18:14:10 +02:00
FROM continuumio/miniconda3:latest
2022-04-03 12:24:05 +02:00
RUN apt update && apt install -y
RUN apt-get install -y unzip
2022-05-04 15:41:39 +02:00
RUN apt-get install unzip
2022-05-04 15:43:35 +02:00
RUN apt-get install wget
2022-04-03 12:24:05 +02:00
WORKDIR /app
2022-05-21 13:11:10 +02:00
# Create the environment:
COPY environment.yml .
RUN conda env create -f environment.yml
2022-04-10 22:06:24 +02:00
2022-05-21 13:11:10 +02:00
# Make RUN commands use the new environment:
SHELL ["conda", "run", "-n", "myenv", "/bin/bash", "-c"]
2022-05-21 12:39:48 +02:00
2022-05-21 13:11:10 +02:00
# The code to run when container is started:
COPY . .
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "myenv", "python", "lab8/trainScript.py"]