Files
docker-binnit/Dockerfile
T
karasz 150d4e9577 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>
2019-01-25 18:34:29 +02:00

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"]