Files
mev-beta/Dockerfile.test
Krypto Kajun 8cba462024 feat(prod): complete production deployment with Podman containerization
- Migrate from Docker to Podman for enhanced security (rootless containers)
- Add production-ready Dockerfile with multi-stage builds
- Configure production environment with Arbitrum mainnet RPC endpoints
- Add comprehensive test coverage for core modules (exchanges, execution, profitability)
- Implement production audit and deployment documentation
- Update deployment scripts for production environment
- Add container runtime and health monitoring scripts
- Document RPC limitations and remediation strategies
- Implement token metadata caching and pool validation

This commit prepares the MEV bot for production deployment on Arbitrum
with full containerization, security hardening, and operational tooling.

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 10:15:22 -06:00

26 lines
520 B
Docker

# Dockerfile for running MEV Bot tests
FROM golang:1.25-alpine AS test
# Install build dependencies
RUN apk add --no-cache \
git \
make \
gcc \
musl-dev \
linux-headers \
bash
# Set working directory
WORKDIR /app
# Copy go mod files first (for layer caching)
COPY go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
# Run tests by default
# Note: Tests are compiled on demand; no need for pre-compilation
CMD ["go", "test", "-v", "-race", "-coverprofile=coverage.out", "./..."]