Skip to content

Instantly share code, notes, and snippets.

@victory1908
Last active June 4, 2019 03:45
Show Gist options
  • Save victory1908/424d0d46fb897312081b66d79057e165 to your computer and use it in GitHub Desktop.
Save victory1908/424d0d46fb897312081b66d79057e165 to your computer and use it in GitHub Desktop.
docker node-alpine #docker
FROM node:alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN apk update && apk upgrade && apk --no-cache --virtual build-dependencies add python make g++ \
&& npm install -g prisma && npm install \
&& apk del build-dependencies
COPY . .
RUN chmod -R +x ./docker-scripts/
ENTRYPOINT [ "./docker-scripts/entrypoint.sh" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment