We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132baa8 commit 0079bb9Copy full SHA for 0079bb9
Dockerfile
@@ -0,0 +1,20 @@
1
+# Use the official Node.js image as a parent image
2
+FROM node:18
3
+
4
+# Set the working directory
5
+WORKDIR /app
6
7
+# Copy package.json and package-lock.json
8
+COPY package*.json ./
9
10
+# Install dependencies
11
+RUN npm install
12
13
+# Copy the rest of the application code
14
+COPY . .
15
16
+# Expose the port the app runs on
17
+EXPOSE 3000
18
19
+# Run the application
20
+CMD ["npm", "run", "dev"]
0 commit comments