FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
battlr/Dockerfile at master · some-programs/battlr · GitHub
some-programs
/
battlr
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
battlr
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 348 Bytes
Breadcrumbs
battlr
/
Dockerfile
Copy path
File metadata and controls
16 lines (15 loc) · 348 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from golang:1.22 as builder
copy go.mod go.sum ./
run go mod download
workdir /app
copy . /app/
run CGO_ENABLED=0 GOOS=linux go build -o /battlr
from gcr.io/distroless/base
copy --from=builder /battlr /battlr
entrypoint [
"/battlr"
]
expose 80
volume /battles
volume /data
env BATTLR_DIR=/battles/
env BATTLR_DB=/data/battlr.db
env BATTLR_LISTEN=80
Back
|
FazBrowse Home
|
New Git URL