Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielss4ntos authored Jan 19, 2024
1 parent 5daa73d commit 01a2322
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# The Base Image for subsequent instructions.
FROM node:14

# App directory
WORKDIR /app

# Install app dependencies
COPY package*.json ./

# Install tools required for project
RUN npm install

# Copy the entire project
COPY . .

# Listening Ports
EXPOSE 3000

# RUN app node.js in /app1
CMD [ "node", "index.js" ]
FROM alpine:latest

0 comments on commit 01a2322

Please sign in to comment.