mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
## [1.0.1](https://github.com/hectorvent/floci/compare/1.0.0...1.0.1) (2026-03-15)
### Bug Fixes
* github action trigger ([156ceb2](https://github.com/hectorvent/floci/commit/156ceb2d884391864a24787e01b2c64b15b5f0f3))
28 lines
545 B
Docker
28 lines
545 B
Docker
# Stage 1: Build
|
|
FROM eclipse-temurin:25-jdk AS build
|
|
WORKDIR /build
|
|
|
|
RUN apt-get update && apt-get install -y maven && rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY pom.xml .
|
|
RUN mvn dependency:go-offline -q
|
|
|
|
COPY src/ src/
|
|
RUN mvn clean package -DskipTests -q
|
|
|
|
# Stage 2: Runtime
|
|
FROM eclipse-temurin:25-jre-alpine
|
|
WORKDIR /app
|
|
|
|
COPY --from=build /build/target/quarkus-app/ quarkus-app/
|
|
|
|
RUN mkdir -p /app/data
|
|
VOLUME /app/data
|
|
|
|
EXPOSE 4566 6379-6399
|
|
|
|
ARG VERSION=latest
|
|
ENV FLOCI_VERSION=1.0.1
|
|
|
|
ENTRYPOINT ["java", "-jar", "quarkus-app/quarkus-run.jar"]
|