Update Dockerfile (#2095)

Updates the Go version used by the Dockerfile
fix-cors-headers
ssssdl 2021-01-25 03:44:10 +08:00 committed by GitHub
parent 9f5368aa13
commit e6533e9993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ RUN gulp
# Build Golang binary # Build Golang binary
FROM golang:1.11 AS build-golang FROM golang:1.15.2 AS build-golang
WORKDIR /go/src/github.com/gophish/gophish WORKDIR /go/src/github.com/gophish/gophish
COPY . . COPY . .
@ -40,6 +40,6 @@ USER app
RUN sed -i 's/127.0.0.1/0.0.0.0/g' config.json RUN sed -i 's/127.0.0.1/0.0.0.0/g' config.json
RUN touch config.json.tmp RUN touch config.json.tmp
EXPOSE 3333 8080 8443 EXPOSE 3333 8080 8443 80
CMD ["./docker/run.sh"] CMD ["./docker/run.sh"]