Tweaked Dockerfile

git-svn-id: file:///srv/svn/repo/mai/trunk@29 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
manerakai 2023-09-20 11:11:31 +00:00
parent ea9deac208
commit bba40602b7
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -224,7 +224,7 @@ func main() {
address := os.Getenv("ADDRESS")
if address == "" {
address = ":3000"
address = ":5000"
}
app.Listen(address)
}