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:
+1
-1
@@ -1,7 +1,7 @@
|
||||
FROM scratch
|
||||
|
||||
# Copy everything
|
||||
COPY binnit /
|
||||
COPY ./files /
|
||||
|
||||
# Set our port
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user