Compare commits

..

1 Commits

Author SHA1 Message Date
Tony Wang
2cd2fce3c3
Merge 5991c87296 into 7ec5772432 2024-09-28 23:10:09 +08:00
2 changed files with 2 additions and 3 deletions

View File

@ -1,2 +1,2 @@
Django>=5.0.6,<6.0 Django>=2.0,<3.0
psycopg2>=2.7,<3.0 psycopg2>=2.7,<3.0

View File

@ -35,8 +35,7 @@ WORKDIR /go/src/github.com/go/helloworld/
COPY app.go . COPY app.go .
RUN go mod init helloworld \ RUN go get -d -v github.com/go-sql-driver/mysql \
&& go get -d -v github.com/go-sql-driver/mysql \
&& CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app . \ && CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app . \
&& cp /go/src/github.com/go/helloworld/app /root && cp /go/src/github.com/go/helloworld/app /root