Player cache and project structure refactor.

This commit is contained in:
MaxJa4
2024-01-21 18:02:27 +01:00
parent 4aae0896aa
commit f2573f2273
10 changed files with 73 additions and 60 deletions

View File

@@ -2,13 +2,9 @@ FROM golang:1.21-alpine AS builder
WORKDIR /app
COPY go.mod go.sum internal/**/go.mod ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o isc .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o isc ./cmd
FROM alpine:latest