[Feature] Preprocessing and dev QoL changes (#1)

Reviewed-on: #1
Co-authored-by: bivashy <botyrbojey@gmail.com>
Co-committed-by: bivashy <botyrbojey@gmail.com>
This commit is contained in:
2025-12-24 18:48:02 +00:00
committed by bivashy
parent 7c85e05e02
commit 8be1dd8a53
23 changed files with 963 additions and 44 deletions

35
Dockerfile.dev Normal file
View File

@ -0,0 +1,35 @@
FROM eclipse-temurin:21-jdk-jammy
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
vim \
git \
ca-certificates \
ffmpeg && \
rm -rf /var/lib/apt/lists/*
# Create non-root user
RUN groupadd --gid 1000 spring-app && \
useradd --uid 1000 --gid spring-app --shell /bin/bash --create-home spring-app
RUN mkdir -p /home/spring-app/.m2 && \
chown -R spring-app:spring-app /home/spring-app/.m2
WORKDIR /app
COPY mvnw .
COPY .mvn .mvn
COPY pom.xml .
COPY target target
RUN chmod +x mvnw && \
chown -R spring-app:spring-app /app
USER spring-app:spring-app
COPY src ./src
EXPOSE 8080
ENTRYPOINT ["./mvnw", "spring-boot:run"]