Unverified Commit 02f68b60 authored by Féry Mathieu (Mathius)'s avatar Féry Mathieu (Mathius)
Browse files

feat(docker): Add port exposed in dockerfiles

parent 90f77571
Pipeline #34247 passed with stages
in 4 minutes and 18 seconds
......@@ -4,4 +4,5 @@ ARG CREDENTIALS=service-account-file.json
COPY ${JAR_FILE} app.jar
COPY ${CREDENTIALS} service-account-file.json
ENV GOOGLE_APPLICATION_CREDENTIALS=service-account-file.json
EXPOSE 8080
ENTRYPOINT ["java","-jar","/app.jar"]
\ No newline at end of file
......@@ -2,4 +2,5 @@ FROM google/cloud-sdk
RUN apt-get install openjdk-11-jdk
ARG JAR_FILE=target/*-spring-boot.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/app.jar"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment