FROM mhart/alpine-node:10.9 WORKDIR /app # Native dependencies RUN apk add --no-cache make gcc g++ python COPY package*.json ./ # Install app dependencies RUN npm install --only=production ENV NODE_ENV=staging COPY . . EXPOSE 3000 CMD [ "node", "build/bundle.js" ]