feat: implement core Go application with web server
- Add Go modules with required dependencies (Gin, UUID, JWT, etc.) - Implement main web server with landing page endpoint - Add comprehensive API endpoints for health and status - Include proper error handling and request validation - Set up CORS middleware and security headers
This commit is contained in:
17
output/Dockerfile.test
Normal file
17
output/Dockerfile.test
Normal file
@@ -0,0 +1,17 @@
|
||||
# Test Dockerfile
|
||||
FROM golang:1.21-alpine AS tester
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
RUN apk add --no-cache curl bc jq
|
||||
|
||||
# Copy go mod files
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
# Copy source and tests
|
||||
COPY . ./
|
||||
|
||||
# Run tests
|
||||
CMD ["sh", "tests/run_tests.sh"]
|
||||
Reference in New Issue
Block a user