This commit is contained in:
2024-07-13 22:17:01 +03:00
parent 4b55e368c0
commit a01af94b10
3 changed files with 3 additions and 3 deletions

View File

@ -17,6 +17,6 @@ WORKDIR /app
COPY --from=build /app/main . COPY --from=build /app/main .
EXPOSE 8080 EXPOSE 1308
CMD ["./main"] CMD ["./main"]

View File

@ -56,5 +56,5 @@ func main() {
} }
}) })
r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080") r.Run("0.0.0.0:1308") // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
} }

View File

@ -17,7 +17,7 @@ services:
context: ./backend context: ./backend
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "1308:8080" - "1308:1308"
networks: networks:
- app-network - app-network