Updated binnit to latest and added new files

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
2019-01-24 20:44:00 +02:00
parent fd7e0f676e
commit 9a89396cbc
8 changed files with 169 additions and 18 deletions
+5 -11
View File
@@ -1,16 +1,10 @@
FROM alpine:3.8
FROM scratch
# Make directories
# Copy the static executable and config.
# Copy everything
COPY binnit /
RUN mkdir -p /opt/binnit/log
RUN mkdir -p /opt/binnit/html
RUN mkdir -p /opt/binnit/paste
COPY opt/binnit /opt/binnit/
COPY opt/binnit.cfg /opt/binnit/
# Set port
# Set our port
EXPOSE 80
# Run the binary.
ENTRYPOINT ["/opt/binnit/binnit","-c","/opt/binnit/binnit.cfg"]
ENTRYPOINT ["/binnit/binnit","-c","/binnit/binnit.cfg"]