about summary refs log tree commit diff
path: root/src/rest-api/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest-api/Dockerfile')
-rw-r--r--src/rest-api/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rest-api/Dockerfile b/src/rest-api/Dockerfile
new file mode 100644
index 0000000..b8eccf0
--- /dev/null
+++ b/src/rest-api/Dockerfile
@@ -0,0 +1,11 @@
+FROM golang
+
+WORKDIR /app
+
+COPY . /app
+
+RUN go build cmd/main.go
+
+EXPOSE 8080
+
+CMD ["/app/main"]