Files
WebAndAppMonoRepo/output/Dockerfile.test
YourDreamNameHere 89443f213b 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
2025-11-20 16:36:28 -05:00

17 lines
267 B
Docker

# 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"]