mirror of
https://github.com/evilsocket/arc.git
synced 2024-05-26 22:37:37 +03:00
fix: docker related fixes
This commit is contained in:
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/.github
|
||||||
|
/.vscode
|
||||||
|
/*.pem
|
||||||
|
/dev_config.toml
|
||||||
|
/config.toml
|
||||||
|
/build
|
||||||
@@ -2,8 +2,8 @@ FROM golang:1.22.2
|
|||||||
|
|
||||||
ADD . /go/src/github.com/evilsocket/arc
|
ADD . /go/src/github.com/evilsocket/arc
|
||||||
WORKDIR /go/src/github.com/evilsocket/arc
|
WORKDIR /go/src/github.com/evilsocket/arc
|
||||||
COPY sample_config.toml config.toml
|
|
||||||
|
|
||||||
RUN go build -o build/arc cmd/arc/*.go
|
RUN go build -o build/arc cmd/arc/*.go
|
||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
ENTRYPOINT ./build/arc -config config.toml
|
EXPOSE 443
|
||||||
|
ENTRYPOINT ./build/arc -config /config.toml
|
||||||
Reference in New Issue
Block a user