Changeset 29 in code


Ignore:
Timestamp:
Sep 20, 2023, 11:11:31 AM (21 months ago)
Author:
manerakai
Message:

Tweaked Dockerfile

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Dockerfile

    r28 r29  
    33RUN apk update && apk add git
    44
    5 RUN git clone https://codeberg.org/SimpleWeb/SimplyTranslate/
    6 WORKDIR SimplyTranslate/web/
     5WORKDIR web/
    76RUN go mod download
    87RUN go build -o simplytranslate
  • trunk/web/main.go

    r26 r29  
    225225        address := os.Getenv("ADDRESS")
    226226        if address == "" {
    227                 address = ":3000"
     227                address = ":5000"
    228228        }
    229229        app.Listen(address)
Note: See TracChangeset for help on using the changeset viewer.