Fixed Explore, Added Docker Support ( closes Hyperpipe/Hyperpipe#2 )

This commit is contained in:
Shiny Nematoda
2022-08-02 07:10:13 +00:00
parent 6a5f1d4b7a
commit 7e24fb8176
7 changed files with 54 additions and 5 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM golang:alpine AS build
ARG proxy
WORKDIR /app/
RUN apk --no-cache add ca-certificates
COPY . .
RUN sed -i "s/hyperpipe-proxy.onrender.com/$proxy/g" utils.go
RUN go mod download && \
go build -ldflags "-s -w"
EXPOSE 3000
CMD ./hyperpipe-backend