/
pyo
/
auth
Обзор
Документация
Войти
/
pyo
/
auth
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
main
Dockerfile
17 строк
280 B
ilovepitsa
restore from another repo
16 июн 2025, 17:30
16 июн 2025, 17:30
fb9346f
Код
Авторство
О чём код?
# Stage 1: Build the Go application FROM golang:1.22.1-alpine AS builder WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY . . RUN go build -o bin/auth-service ./cmd FROM alpine:latest WORKDIR /app COPY --from=builder /app/bin/auth-service . CMD ["./auth-service"]