Skip to content

Commit

Permalink
Update Dockerfile (#359)
Browse files Browse the repository at this point in the history
Changed node based on alpine to node based on debian buster slim
  • Loading branch information
joaqrus authored Feb 22, 2023
1 parent 7ad91da commit 301f6a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:16-alpine3.16
FROM node:16-buster-slim

# Create App directory in Container
WORKDIR /usr/src/app

# Update
RUN apk update
RUN apt update
RUN apt upgrade -y

# Install App dependencies
COPY package*.json ./
Expand All @@ -14,4 +15,4 @@ RUN npm install
COPY . .

# Run App
CMD ["npm", "start"]
CMD ["npm", "start"]

0 comments on commit 301f6a1

Please sign in to comment.