File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,15 @@ RUN gradle build
2424RUN gradle bootJar
2525
2626# Main Image
27- FROM openjdk :17.0-jdk-slim
27+ FROM eclipse-temurin :17-noble
2828# #Java
29- RUN apt-get -y update && apt-get -y install curl && apt-get -y clean
30- # RUN apt-get -y update && apt-get -y install wget curl unzip && apt-get -y clean
29+ RUN apt -y update && apt -y install curl && apt -y clean
30+ # RUN apt -y update && apt -y install wget curl unzip && apt -y clean
3131# RUN wget https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2023.9-docker.zip -P /tmp/ && \
3232# unzip /tmp/YourKit-JavaProfiler-2023.9-docker.zip -d /usr/local && \
3333# rm /tmp/YourKit-JavaProfiler-2023.9-docker.zip
3434RUN mkdir /app
35+ WORKDIR /app
3536COPY --from=gradlebuild /app/build/libs/identity-service-1.0-SNAPSHOT.jar /app/identity-service-1.0-SNAPSHOT.jar
3637
3738ARG SERVER_PORT
Original file line number Diff line number Diff line change 1313
1414
1515# Node build
16- FROM node:16 AS build
16+ FROM node:20 AS build
1717RUN mkdir /app
1818WORKDIR /app
1919COPY ./*.json /app/
@@ -25,7 +25,7 @@ RUN NODE_OPTIONS=--max-old-space-size=1536 npm run build
2525RUN ls /app/build
2626
2727# Main Image
28- FROM openresty/openresty:1.25.3.1- alpine
28+ FROM openresty/openresty:alpine
2929RUN apk add gettext curl
3030# React
3131RUN rm /etc/nginx/conf.d/default.conf
You can’t perform that action at this time.
0 commit comments