Skip to content

Commit

Permalink
Update base image registry to aws ecr
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbarnett91 authored Sep 21, 2023
1 parent 33518f8 commit a6b21df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:17-alpine
FROM public.ecr.aws/docker/library/eclipse-temurin:17-alpine
COPY ./build/libs/energy-label-service-SNAPSHOT.jar app.jar

RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
Expand All @@ -11,4 +11,4 @@ RUN apk add --update tzdata \
RUN adduser -S elg
USER elg

ENTRYPOINT exec java $JAVA_OPTS -jar app.jar
ENTRYPOINT exec java $JAVA_OPTS -jar app.jar

0 comments on commit a6b21df

Please sign in to comment.