From 8ff695f5490de69dd956a852cb7ee9a4d138249e Mon Sep 17 00:00:00 2001
From: "Zhu, Ling Dr (Elec Electronic Eng)" <l.zhu@surrey.ac.uk>
Date: Mon, 1 Feb 2021 23:25:06 +0000
Subject: [PATCH] Add Dockerfile

---
 Dockerfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..57d4589
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM golang:latest
+
+# Set the Current Working Directory inside the container
+WORKDIR /go/src/hello
+
+# Add all project files into the container
+ADD . .
+
+# Build the Go app
+RUN go build -o hello .
+
+
+# This container exposes port 8999
+EXPOSE 8999
+
+# Run the binary program produced by `go build`
+CMD ["./hello"]
-- 
GitLab