Skip to content

Commit

Permalink
Move Dockerfile to correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Dec 9, 2023
1 parent 0f5b1b8 commit 86d00b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
File renamed without changes.
21 changes: 1 addition & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,4 @@
},
"postCreateCommand": "npm install",
"forwardPorts": [ 3000 ]
}# Choose the Node.js version
FROM node:14

# Set the working directory
WORKDIR /usr/src/app

# Copy package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of your app's source code
COPY . .

# Expose the port your app runs on
EXPOSE 3000

# Start the app
CMD [ "node", "server.js" ]
}

0 comments on commit 86d00b0

Please sign in to comment.