mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
Huge thanks to @kurtmc for this PR! Adding the floci-compatibility-tests suite to our CI is a massive step forward for the project's stability. I especially appreciate you catching the Dockerfile permission bug—fixing the chown order is a great catch. This definitely makes floci more future-proof and helps us catch regressions early. There are a couple of things we will need to fix, we can chat about it later, join [floci slack](https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw) and let's talk Merging now!
21 lines
413 B
Docker
21 lines
413 B
Docker
FROM eclipse-temurin:25-jre-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN mkdir -p /app/data \
|
|
&& chown 1001:root /app \
|
|
&& chmod "g+rwX" /app \
|
|
&& chown 1001:root /app/data
|
|
|
|
VOLUME /app/data
|
|
|
|
COPY --chown=1001:root target/quarkus-app quarkus-app/
|
|
|
|
EXPOSE 4566 6379-6399
|
|
|
|
ARG VERSION=latest
|
|
ENV FLOCI_VERSION=${VERSION}
|
|
|
|
USER 1001
|
|
|
|
ENTRYPOINT ["java", "-jar", "quarkus-app/quarkus-run.jar", "-Dquarkus.http.host=0.0.0.0"] |