Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenhan wang
pastebin_backend
Commits
032aac50
Commit
032aac50
authored
Aug 04, 2024
by
chenhan wang
Browse files
feat: golang env goproxy
parent
1d55188b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
032aac50
...
@@ -4,7 +4,9 @@ FROM golang:1.19.13-alpine3.18 AS go-builder
...
@@ -4,7 +4,9 @@ FROM golang:1.19.13-alpine3.18 AS go-builder
ENV
\
ENV
\
GO111MODULE=on \
GO111MODULE=on \
CGO_ENABLED=0
CGO_ENABLED=0 \
GOPROXY=https://goproxy.cn,direct
WORKDIR
/home/pastebin
WORKDIR
/home/pastebin
COPY
./ backend/
COPY
./ backend/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment