16 lines
385 B
Docker
16 lines
385 B
Docker
# adsservice
|
|
FROM openjdk:8
|
|
RUN apt-get update && apt-get install net-tools telnet
|
|
WORKDIR /app
|
|
|
|
# Next three steps are for caching dependency downloads
|
|
# to improve subsequent docker build.
|
|
COPY ["build.gradle", "gradlew", "./"]
|
|
COPY gradle gradle
|
|
RUN ./gradlew downloadRepos
|
|
|
|
COPY . .
|
|
RUN ./gradlew installDist
|
|
EXPOSE 9555
|
|
ENTRYPOINT ["/app/build/install/hipstershop/bin/AdService"]
|