Update Dockerfile

This commit is contained in:
nagarjuna33 2023-04-10 07:53:01 +05:30 committed by GitHub
parent 6393418d75
commit 2fe319a540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,7 @@ ARG uid=1000
ARG gid=1000
LABEL author="Arjun"
LABEL project="test"
ADD https://arjunaartifact.jfrog.io/ui/native/libs-release-local/spring-petclinic-2.7.3.jar
COPY spring-petclinic-2.7.3.jar spring-petclinic-2.7.3.jar
RUN wget https://arjunaartifact.jfrog.io/ui/native/libs-release-local/spring-petclinic-2.7.3.jar
EXPOSE 8080
RUN useradd springpet
USER ${user}