From ad2e9ede95a54e9e5ca42ff1383e95222916e1e6 Mon Sep 17 00:00:00 2001 From: "Alex J. Champandard" Date: Tue, 3 May 2016 18:07:23 +0200 Subject: [PATCH] Paths to files must be relative to docker file. --- docker/cpu.df | 6 +++--- docker/gpu.df | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/cpu.df b/docker/cpu.df index 0428622..316aa84 100644 --- a/docker/cpu.df +++ b/docker/cpu.df @@ -33,12 +33,12 @@ RUN apt-get update && \ # Install requirements before copying project files WORKDIR /neural-doodle -COPY requirements.txt . +COPY ../requirements.txt . RUN python3 -m pip install -r "requirements.txt" # Copy only required project files -COPY samples samples -COPY doodle.py . +COPY ../samples samples +COPY ../doodle.py . # Get a pre-trained neural network (VGG19) RUN wget "https://github.com/alexjc/neural-doodle/releases/download/v0.0/vgg19_conv.pkl.bz2" diff --git a/docker/gpu.df b/docker/gpu.df index 89eabfd..c304f3c 100644 --- a/docker/gpu.df +++ b/docker/gpu.df @@ -34,12 +34,12 @@ RUN apt-get update && \ # Install requirements before copying project files WORKDIR /neural-doodle -COPY requirements.txt . +COPY ../requirements.txt . RUN python3 -m pip install -r "requirements.txt" # Copy only required project files -COPY samples samples -COPY doodle.py . +COPY ../samples samples +COPY ../doodle.py . # Get a pre-trained neural network (VGG19) RUN wget "https://github.com/alexjc/neural-doodle/releases/download/v0.0/vgg19_conv.pkl.bz2"