about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-01-27 20:28:20 +0100
committerEmile <hanemile@protonmail.com>2020-01-27 20:28:20 +0100
commit436809ce9d1b99b5f1b3ee9baa5cfc9d9e227c90 (patch)
tree48cc74ae9067a5c12240f2aff6befa4bfa10450e
parent0b34876f2b17f8cefcb4192b44f1f8139cf52818 (diff)
updated the dockerfile for the new file layout
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 416da85..c0e236f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,12 @@
 FROM golang:1.10-alpine
 
 # Setup
-COPY main.go .
+COPY src/* .
 
 # Install libs
 RUN apk add git
-RUN go get github.com/gliderlabs/ssh
+RUN go get github.com/gliderlabs/ssh && \
+    go get github.com/gorilla/mux
 
 # Build
 RUN go build -o ssh-grab-passwords