Skip to content
Snippets Groups Projects
Unverified Commit 51cade3f authored by donydex's avatar donydex Committed by GitHub
Browse files

Update dockerfile

The value EXPOSED_PORT need to be declared before use
parent 8fa041c0
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ VOLUME /tmp
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh wait-for-it.sh
RUN bash -c 'chmod +x wait-for-it.sh'
ARG ARTIFACT_NAME
ARG EXPOSED_PORT
ADD ${ARTIFACT_NAME}.jar /app.jar
ENV SPRING_PROFILES_ACTIVE docker
RUN bash -c 'touch /app.jar'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment