Added Step in dockerfile to copy over commit.properties to docker

container
This commit is contained in:
Akshay Jagadish
2020-10-08 13:49:02 -04:00
parent f3bc79cbae
commit 85c323e3f1
6 changed files with 15 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json
COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json
COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json
COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json
COPY app/commit.properties /app
VOLUME ["/app/logs", "/app/config"]

View File

@@ -0,0 +1,4 @@
#This is a dummy property file to be used when running docker locally
date=${date}
commitId=${commit.id}
projectVersion=${project.version}

View File

@@ -19,7 +19,7 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json
COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json
COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json
COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json
COPY app/commit.properties /app
RUN chmod +x /app/run.sh
WORKDIR /app

View File

@@ -0,0 +1,4 @@
#This is a dummy property file to be used when running docker locally
date=${date}
commitId=${commit.id}
projectVersion=${project.version}