Skip to content

Commit

Permalink
update to port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmajestic committed Mar 15, 2024
1 parent c281fa6 commit 3a723b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ RUN go mod tidy
RUN go mod download
COPY . .
RUN go build -o main main.go
EXPOSE 8000
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "wget", "-q", "-O", "-", "http://localhost:8000/health" ] || exit 1
CMD ["./main"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: .
ports:
- "8000:8000"
- "8080:8080"
volumes:
- ./index.html:/app/index.html
command: ["./main"]

0 comments on commit 3a723b7

Please # to comment.