Skip to content

Commit

Permalink
Add dockerize to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Nov 15, 2023
1 parent a0d2ba4 commit a0b987a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ COPY sbdi/data/config/charts.json /data/ala-hub/config/charts.json
COPY sbdi/data/config/grouped_facets_default.json /data/ala-hub/config/grouped_facets_default.json

COPY build/libs/ala-hub-*-plain.war $CATALINA_HOME/webapps/ROOT.war

ENV DOCKERIZE_VERSION v0.7.0

RUN apt-get update \
&& apt-get install -y wget \
&& wget -O - https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | tar xzf - -C /usr/local/bin \
&& apt-get autoremove -yqq --purge wget && rm -rf /var/lib/apt/lists/*

0 comments on commit a0b987a

Please sign in to comment.