Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
1 changed files with
5 additions and
6 deletions
-
Dockerfile
|
@ -1,11 +1,10 @@ |
|
|
# specify the node base image with your desired version node:<version> |
|
|
# specify the node base image with your desired version node:<version> |
|
|
FROM node:8-slim |
|
|
FROM node:12.16.3-alpine |
|
|
|
|
|
|
|
|
# install tools |
|
|
# install tools |
|
|
RUN apt-get update --no-install-recommends \ |
|
|
RUN apk --no-cache add --virtual native-deps \ |
|
|
&& apt-get install -y --no-install-recommends vim \ |
|
|
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python git && \ |
|
|
&& apt-get install -y --no-install-recommends rsync \ |
|
|
npm install --quiet node-gyp -g |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
|
|
|
|
|
|
# Create app directory |
|
|
# Create app directory |
|
|
WORKDIR /usr/src/app |
|
|
WORKDIR /usr/src/app |
|
@ -25,4 +24,4 @@ COPY . . |
|
|
RUN mkdir -p /root/.lnd |
|
|
RUN mkdir -p /root/.lnd |
|
|
|
|
|
|
|
|
EXPOSE 3006 |
|
|
EXPOSE 3006 |
|
|
CMD [ "npm", "start" ] |
|
|
CMD [ "npm", "start" ] |