From 69b63552edab7edf3317f6745dd0e45285813a66 Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Fri, 7 Jun 2019 08:42:57 +0900 Subject: [PATCH] fixes dockerfile missing libraries (Thanks @bnewbold for the patch) #27 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45316dd4..8a1e4e47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,12 +26,12 @@ RUN cd /app/glutton-source/lookup && ./gradlew clean assemble --no-daemon # build runtime image # ------------------- FROM openjdk:8-jre-slim -RUN apt-get update -qq && apt-get -qy install curl +RUN apt-get update -qq && apt-get -qy install curl build-essential unzip RUN mkdir -p /app WORKDIR /app -RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - RUN apt-get update -qq && apt-get -y install nodejs COPY --from=builder /app/glutton-source/matching /app/matching RUN cd matching; npm install