Updated binnit to latest and added new files
Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
+5
-11
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user