Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(all): update everything #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.23.3-alpine3.20 as build-env
FROM golang:1.23.4-alpine3.20 as build-env

WORKDIR /go/src/app
ADD . /go/src/app

RUN go mod download && \
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /go/src/app/main/app /go/src/app/main

FROM alpine:3.20
FROM alpine:3.21
COPY --from=build-env /go/src/app/main/app /app
COPY --from=build-env /go/src/app/configs/ /

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.23
require (
github.com/LyricTian/captcha v1.2.0
github.com/LyricTian/gzip v0.1.1
github.com/casbin/casbin/v2 v2.101.0
github.com/casbin/casbin/v2 v2.102.0
github.com/gin-contrib/cors v1.7.2
github.com/gin-gonic/gin v1.10.0
github.com/go-redis/redis v6.15.9+incompatible
Expand All @@ -29,8 +29,8 @@ require (
golang.org/x/time v0.8.0
gopkg.in/yaml.v3 v3.0.1
gorm.io/driver/mysql v1.5.7
gorm.io/driver/postgres v1.5.10
gorm.io/driver/sqlite v1.5.6
gorm.io/driver/postgres v1.5.11
gorm.io/driver/sqlite v1.5.7
gorm.io/gorm v1.25.12
)

Expand Down
Loading