update to go1.22

This commit is contained in:
Adora Laura Kalb 2024-05-06 16:09:12 +02:00
parent cfccdc7caf
commit f001a0472a
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.20-alpine AS dev
FROM golang:1.22-alpine AS dev
COPY . /var/app
WORKDIR /var/app
@ -27,4 +27,4 @@ COPY --from=build /var/app/views /var/app/views
EXPOSE 80
ENTRYPOINT ["/var/app/go-urlsh"]
CMD ""
CMD ""

2
go.mod
View file

@ -2,8 +2,6 @@ module code.lila.network/adoralaura/go-urlsh
go 1.22
toolchain go1.22.2
require (
github.com/gofiber/fiber/v2 v2.52.4
github.com/gofiber/template/html/v2 v2.1.1