Skip to content

Commit 673fa63

Browse files
chore(Dockerfile/spring-keycloak-example): clean up comments and formatting in Dockerfile
1 parent 87abacd commit 673fa63

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-keycloak-example/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ 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/* #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
23+
#<IT IS NOT NECESSARY IN PRODUCTION ---
24+
RUN apt-get update && apt-get install -y nginx supervisor && rm -rf /var/lib/apt/lists/*
25+
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
26+
COPY docker/nginx/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
27+
#--- IT IS NOT NECESSARY IN PRODUCTION>
2628

2729
COPY --from=package /build/target/app.jar /app/app.jar
2830

0 commit comments

Comments
 (0)