Frontend form handling done

This commit is contained in:
Leons Aleksandrovs
2025-07-05 21:11:09 +03:00
parent 58d53b17cb
commit a42e61fb48
22 changed files with 338 additions and 35 deletions
+10
View File
@@ -7,6 +7,9 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
# ---- Production mode ----
FROM base AS prod
# Copy code, and compile
COPY . .
RUN go build -o server main.go
@@ -17,3 +20,10 @@ EXPOSE 8080
# Run server binary on start
CMD ["./server"]
# ---- Development mode ----
FROM base AS dev
# Install air for hot reloading
RUN go install github.com/air-verse/air@latest