diff --git a/Dockerfile b/Dockerfile index 2b567de..6dfaf57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,7 @@ FROM golang:1.20-alpine RUN apk update && apk add git -RUN git clone https://codeberg.org/SimpleWeb/SimplyTranslate/ -WORKDIR SimplyTranslate/web/ +WORKDIR web/ RUN go mod download RUN go build -o simplytranslate EXPOSE 5000 diff --git a/web/main.go b/web/main.go index 9403b7d..b4e2495 100644 --- a/web/main.go +++ b/web/main.go @@ -224,7 +224,7 @@ func main() { address := os.Getenv("ADDRESS") if address == "" { - address = ":3000" + address = ":5000" } app.Listen(address) }