mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 09:18:54 +00:00
Compare commits
No commits in common. "1b7d941fcd1bfff3fe22f988ce0ea4c2f9780d6a" and "7ec5772432caae51ea7212402643087fe98f9eaa" have entirely different histories.
1b7d941fcd
...
7ec5772432
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user