refactor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
aovantsev
2025-10-10 19:56:06 +03:00
parent f081c9d947
commit 73ed514a34
30 changed files with 1728 additions and 1020 deletions

View File

@@ -11,10 +11,12 @@ RUN go mod download
# Copy source code and environment files
COPY *.go ./
COPY internal/ ./internal/
COPY cmd/ ./cmd/
COPY .env* ./
# Build the application
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./cmd/api
# Build stage for React frontend
FROM node:18-alpine AS frontend-builder