Browse Source

revert back to node-8 slim

master
Mayank 4 years ago
parent
commit
64ee8fa3d7
  1. 9
      Dockerfile

9
Dockerfile

@ -1,10 +1,11 @@
# specify the node base image with your desired version node:<version> # specify the node base image with your desired version node:<version>
FROM node:12.16.3-alpine FROM node:8-slim
# install tools # install tools
RUN apk --no-cache add --virtual native-deps \ RUN apt-get update --no-install-recommends \
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python git && \ && apt-get install -y --no-install-recommends vim \
npm install --quiet node-gyp -g && apt-get install -y --no-install-recommends rsync \
&& rm -rf /var/lib/apt/lists/*
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app

Loading…
Cancel
Save