Skip to content

Commit b69aa46

Browse files
committed
Update web and identity images
1 parent 5b17656 commit b69aa46

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

services/identity/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ RUN gradle build
2424
RUN 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
3434
RUN mkdir /app
35+
WORKDIR /app
3536
COPY --from=gradlebuild /app/build/libs/identity-service-1.0-SNAPSHOT.jar /app/identity-service-1.0-SNAPSHOT.jar
3637

3738
ARG SERVER_PORT

services/web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
# Node build
16-
FROM node:16 AS build
16+
FROM node:20 AS build
1717
RUN mkdir /app
1818
WORKDIR /app
1919
COPY ./*.json /app/
@@ -25,7 +25,7 @@ RUN NODE_OPTIONS=--max-old-space-size=1536 npm run build
2525
RUN ls /app/build
2626

2727
# Main Image
28-
FROM openresty/openresty:1.25.3.1-alpine
28+
FROM openresty/openresty:alpine
2929
RUN apk add gettext curl
3030
# React
3131
RUN rm /etc/nginx/conf.d/default.conf

0 commit comments

Comments
 (0)