fix build broken by COPY peculiarity

COPY [--chown=<user>:<group>] <src>... <dest>
The <src> path must be inside the context of the build; you cannot COPY ../something /something,
because the first step of a docker build is to send the context directory (and subdirectories)
to the docker daemon.
If <src> is a directory, the entire contents of the directory are copied, including filesystem metadata.
!!!!The directory itself is not copied, just its contents.!!!!

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
2019-01-25 18:34:29 +02:00
parent ed36b94e9f
commit 150d4e9577
9 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
FROM scratch
# Copy everything
COPY binnit /
COPY ./files /
# Set our port
EXPOSE 80