Skip to content

Commit 4282e9d

Browse files
Update Dockerfile
1 parent 8cdd883 commit 4282e9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-keycloak-example/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ RUN --mount=type=bind,source=pom.xml,target=pom.xml \
2020

2121
FROM eclipse-temurin:21.0.8_9-jre-jammy AS final
2222

23-
RUN apt-get update && apt-get install -y nginx supervisor && rm -rf /var/lib/apt/lists/*
24-
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
25-
COPY docker/nginx/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
23+
RUN apt-get update && apt-get install -y nginx supervisor && rm -rf /var/lib/apt/lists/* #IT IS NOT NECESSARY IN PRODUCTION
24+
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf #IT IS NOT NECESSARY IN PRODUCTION
25+
COPY docker/nginx/supervisord.conf /etc/supervisor/conf.d/supervisord.conf #IT IS NOT NECESSARY IN PRODUCTION
2626

2727
COPY --from=package /build/target/app.jar /app/app.jar
2828

0 commit comments

Comments
 (0)