1
0
Fork 0

хозяйственная работа: некоторый младший щипает здесь и там

This commit is contained in:
Arthur K. 2026-01-27 14:24:29 +03:00
parent 1d4bb2a118
commit 7f7d10aeee
Signed by: wzray
GPG key ID: B97F30FDC4636357
7 changed files with 60 additions and 30 deletions

View file

@ -1,10 +1,15 @@
FROM golang:1.23-alpine AS builder
WORKDIR /build
COPY . .
RUN --mount=type=cache,target=/go/pkg/mod go build
RUN --mount=type=cache,target=/go/pkg/mod go build;
FROM alpine AS runner
WORKDIR /app
COPY --from=builder /build/proxy .
EXPOSE 80/tcp
CMD ./proxy