Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions services/identity/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ RUN gradle build
RUN gradle bootJar

# Main Image
FROM openjdk:17.0-jdk-slim
FROM eclipse-temurin:17-noble
# #Java
RUN apt-get -y update && apt-get -y install curl && apt-get -y clean
# RUN apt-get -y update && apt-get -y install wget curl unzip && apt-get -y clean
RUN apt -y update && apt -y install curl && apt -y clean
# RUN apt -y update && apt -y install wget curl unzip && apt -y clean
# RUN wget https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2023.9-docker.zip -P /tmp/ && \
# unzip /tmp/YourKit-JavaProfiler-2023.9-docker.zip -d /usr/local && \
# rm /tmp/YourKit-JavaProfiler-2023.9-docker.zip
RUN mkdir /app
WORKDIR /app
COPY --from=gradlebuild /app/build/libs/identity-service-1.0-SNAPSHOT.jar /app/identity-service-1.0-SNAPSHOT.jar

ARG SERVER_PORT
Expand Down
4 changes: 2 additions & 2 deletions services/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


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

# Main Image
FROM openresty/openresty:1.25.3.1-alpine
FROM openresty/openresty:alpine
RUN apk add gettext curl
# React
RUN rm /etc/nginx/conf.d/default.conf
Expand Down
Loading