General Fixes

main
Evgeny Kovalev 2 years ago
parent eb2f87aa2b
commit fe02b74c36
  1. 4
      .gitignore
  2. 11
      Dockerfile
  3. 4
      shield.go

4
.gitignore vendored

@ -20,3 +20,7 @@ vendor/
# Go workspace file # Go workspace file
go.work go.work
runlog.log
shield

@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
WORKDIR /app
COPY shield /app
RUN ./shield
EXPOSE 8080

@ -19,7 +19,5 @@ func main() {
management.Settings.Initialize() management.Settings.Initialize()
management.StartWebserver("0.0.0.0:8080")
management.StartWebserver("127.0.0.1:8080")
} }

Loading…
Cancel
Save