Skip to content

Commit

Permalink
Switches Docker Image to Alpine Linux to Reduce Build Time (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGithub authored Sep 14, 2020
1 parent e6fbe6d commit f832374
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM node:13.10
FROM node:current-alpine3.12

WORKDIR /app/

COPY package.json /app/package.json

RUN npm install

RUN npm list
RUN apk add --no-cache bash coreutils \
&& apk add --no-cache --upgrade grep \
&& npm install

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit f832374

Please sign in to comment.