fix project file structure

This commit is contained in:
octeep committed 2022-03-29 00:33:59 +01:00
1 parent 92e1ab84f8
commit e595f7d6fa
4 files changed
+997 -6

No files matched your search

+5 -5
View File
@@ -1,14 +1,14 @@
FROM golang:alpine AS go-build
RUN apk --no-cache add --update git
RUN apk --no-cache add --update git
RUN git clone https://github.com/octeep/wireproxy.git
RUN cd ./wireproxy && go build
RUN cd ./wireproxy && go build ./cmd/wireproxy
FROM alpine:latest
FROM alpine:latest
RUN apk upgrade
RUN apk upgrade
COPY --from=go-build /go/wireproxy/wireproxy /usr/bin/
VOLUME [ "/etc/wireproxy"]
ENTRYPOINT [ "/usr/bin/wireproxy", "/etc/wireproxy/config" ]
ENTRYPOINT [ "/usr/bin/wireproxy", "/etc/wireproxy/config" ]