Changeset 29 in code
- Timestamp:
- Sep 20, 2023, 11:11:31 AM (21 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Dockerfile
r28 r29 3 3 RUN apk update && apk add git 4 4 5 RUN git clone https://codeberg.org/SimpleWeb/SimplyTranslate/ 6 WORKDIR SimplyTranslate/web/ 5 WORKDIR web/ 7 6 RUN go mod download 8 7 RUN go build -o simplytranslate -
trunk/web/main.go
r26 r29 225 225 address := os.Getenv("ADDRESS") 226 226 if address == "" { 227 address = ": 3000"227 address = ":5000" 228 228 } 229 229 app.Listen(address)
Note:
See TracChangeset
for help on using the changeset viewer.