Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Using node-alpine image instead of node
Browse files Browse the repository at this point in the history
  • Loading branch information
javlund committed Dec 12, 2019
1 parent 25aa7f1 commit 4132a13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10
FROM node:10-alpine

# Create app directory
WORKDIR /usr/src/app
Expand All @@ -14,4 +14,4 @@ RUN npm install
COPY . .

EXPOSE 8080
CMD [ "npm", "run", "dev" ]
CMD [ "npm", "run", "dev" ]
2 changes: 1 addition & 1 deletion Dockerfile-prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10
FROM node:10-alpine

# Create app directory
WORKDIR /usr/src/app
Expand Down

0 comments on commit 4132a13

Please sign in to comment.