Spaces:
Configuration error
Configuration error
Commit History
-
Add Fly deployment config and Docker setup
Bimo Abdul AzizPrepare project for Fly.io deployment: add .dockerignore and fly.toml, plus a GitHub Actions workflow to deploy on pushes to main. Update Dockerfile to a Maven build stage and lightweight Java 21 runtime, set memory-optimizing JAVA_OPTS, and switch exposed port to 8080. Adjust application.properties to use server.port=8080. fly.toml includes internal_port, health check, region and VM resource settings.bc63b7c -
Fix: Downgrade Docker build image to Java 21 LTS to match Docker Hub registry
Bimo Abdul Azizf17c9b3 -
Update Dockerfile
Bimo Abdul Azizdd92bb8 -
Add multi-stage Dockerfile for Java app
Bimo Abdul AzizIntroduce a multi-stage Dockerfile: stage 1 uses maven:3.9.9-eclipse-temurin-25 to build the project (mvn clean package -DskipTests); stage 2 uses eclipse-temurin:25-jre-alpine as a lightweight runtime. The built target/*.jar is copied to app.jar, port 8080 is exposed (Render default), and the container runs with ENTRYPOINT ["java","-jar","app.jar"]. This separates build and runtime to produce a smaller runtime image.1fd4096