Change ADD to COPY

This commit is contained in:
Gabri Botha 2021-06-04 13:22:50 +02:00 committed by GitHub
parent e8053365a6
commit 20c33b223b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ LABEL Gabri Botha <bothagabri@gmail.com>
ENV TZ Africa/Johannesburg ENV TZ Africa/Johannesburg
ENV DEPLOY_STAGE staging ENV DEPLOY_STAGE staging
COPY . /app
WORKDIR /app WORKDIR /app
ADD target/ target
ENTRYPOINT ["java","-jar","/app/target/*.jar"] ENTRYPOINT ["java","-jar","./target/*.jar"]