diff --git a/Dockerfile b/Dockerfile index dd1b95f..17befbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ # specify the node base image with your desired version node: -FROM node:8-slim +FROM node:12.16.3-alpine # install tools -RUN apt-get update --no-install-recommends \ - && apt-get install -y --no-install-recommends vim \ - && apt-get install -y --no-install-recommends rsync \ - && rm -rf /var/lib/apt/lists/* +RUN apk --no-cache add --virtual native-deps \ + g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python git && \ + npm install --quiet node-gyp -g # Create app directory WORKDIR /usr/src/app @@ -25,4 +24,4 @@ COPY . . RUN mkdir -p /root/.lnd EXPOSE 3006 -CMD [ "npm", "start" ] +CMD [ "npm", "start" ] \ No newline at end of file