diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6217f38 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM golang:1.19-alpine + +WORKDIR /app + +COPY ./Golang/go.mod ./ +COPY ./Golang/go.sum ./ +RUN go mod download + +COPY ./Golang/*.go ./ +COPY ./Golang/liveurls/*.go ./liveurls/ + +RUN go build -o /allinone + +EXPOSE 35455 + +CMD [ "/allinone" ] \ No newline at end of file