From 4e410616ad0aec0fe3c1c225ae50cab4ea7b1648 Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Fri, 20 Oct 2017 18:07:11 +0100 Subject: [PATCH] Fix and imporve COPY step --- .dockerignore | 4 ++++ Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4f6945d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +Dockerfile +default.sql +quotebd.cfg + diff --git a/Dockerfile b/Dockerfile index 396889e..6862ea1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3.6 MAINTAINER Adam Dodman <"adam.dodman@gmx.com"> -ADD * /quotedb/ +COPY . /quotedb/ RUN apk add --no-cache python3 py3-pip tini gcc python3-dev libc-dev libffi-dev \ && pip3 install -r /quotedb/requirements.txt \