Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use a pre-built Java application approach
FROM openjdk:17-jre-slim
# Build only the basicauthentication example
FROM eclipse-temurin:17-jre

# Set working directory
WORKDIR /app
Expand All @@ -10,8 +10,10 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Copy the entire basicauthentication example
COPY examples/basicauthentication/ /app/
# Copy only the basicauthentication example files
COPY examples/basicauthentication/pom.xml /app/pom.xml
COPY examples/basicauthentication/src /app/src
COPY examples/basicauthentication/ui.resources /app/ui.resources

# Build the Java application (skip frontend build for now)
RUN mvn clean package -DskipTests
Expand Down
Loading