150d4e9577
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>
11 lines
148 B
Docker
11 lines
148 B
Docker
FROM scratch
|
|
|
|
# Copy everything
|
|
COPY ./files /
|
|
|
|
# Set our port
|
|
EXPOSE 80
|
|
|
|
# Run the binary.
|
|
ENTRYPOINT ["/binnit/binnit","-c","/binnit/binnit.cfg"]
|