Skip to content

Commit

Permalink
Make Docker workdir /data
Browse files Browse the repository at this point in the history
This is where the data ends up when you run the command in the
readme.

This feels very fragile though -- it really needs to scripts to
build this data.
  • Loading branch information
bfirsh committed Jun 10, 2019
1 parent a01001b commit 70c621b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ RUN unzip -o ./lookup-service.zip -d ./lookup && \

RUN rm *.zip

WORKDIR /app/lookup/lookup-service

ENV JAVA_OPTS=-Xmx4g

CMD java -jar lib/lookup-service-1.0-SNAPSHOT-onejar.jar server data/config/config.yml
CMD java -jar /app/lookup/lookup-service/lib/lookup-service-1.0-SNAPSHOT-onejar.jar server lookup/lookup-service/data/config/config.yml

0 comments on commit 70c621b

Please sign in to comment.