Logo
Explore Help
Register Sign In
d-bis/smoa
4
0
Fork 0
You've already forked smoa
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
smoa/backend/Dockerfile

19 lines
409 B
Docker
Raw Permalink Normal View History

Backend, sync, infra, docs: ETag, API versioning, k8s, web scaffold, Android 16, domain stubs - Backend: ShallowEtagHeaderFilter for /api/v1/*, API-VERSIONING.md, README (tenant, CORS, Flyway, ETag) - k8s: backend-deployment.yaml (Deployment, Service, Secret/ConfigMap) - Web: scaffold with directory pull, 304 handling, touch-friendly UI - Android 16: ANDROID-16-TARGET.md; BuildConfig STUN/signaling, SMOAApplication configures InfrastructureManager - Domain: CertificateManager revocation stub, ReportService signReports, ZeroTrust/ThreatDetection minimal docs - TODO.md and IMPLEMENTATION_STATUS.md updated; communications README for endpoint config Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 20:37:01 -08:00
# Build from repo root: docker build -f backend/Dockerfile .
FROM eclipse-temurin:17-jdk-alpine AS build
WORKDIR /workspace
COPY . .
RUN ./gradlew :backend:bootJar --no-daemon -x test
# Run stage
FROM eclipse-temurin:17-jre-alpine
WORKDIR /app
RUN adduser -D -s /bin/sh appuser
USER appuser
COPY --from=build /workspace/backend/build/libs/*.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "app.jar"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 31ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API