aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-12 08:27:17 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-12 08:27:17 +0000
commit0fad033ff38707e07011b7008d506cf4fcdaa7ec (patch)
treedb66c3a19708738c9c6e776c5cc6cf9369a3d5fe /Dockerfile
parentadded a dev and deployment docker-compose (diff)
downloadhived-0fad033ff38707e07011b7008d506cf4fcdaa7ec.tar.gz
hived-0fad033ff38707e07011b7008d506cf4fcdaa7ec.zip
restructured the repo-WIP
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 0a9e3e2..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,18 +0,0 @@
-FROM alpine:3.13 as builder
-RUN apk update && apk upgrade
-RUN apk add go git
-COPY go.* /hived/
-RUN cd /hived && go mod download
-COPY *.go /hived/
-RUN cd /hived && go build
-
-FROM node:lts-alpine3.13 AS certbuilder
-RUN apk add openssl
-WORKDIR /certs
-RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
-
-FROM gcr.io/distroless/static-debian10
-COPY --from=certbuilder /cert/ /cert/
-COPY --from=builder /hived/hived /hived/
-COPY ./docker-entrypoint.sh /hived/
-ENTRYPOINT ["/hived/docker-entrypoint.sh"]