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 e03454f commit 0917b3fCopy full SHA for 0917b3f
.env.template
@@ -0,0 +1,3 @@
1
+PORT=<PORT>
2
+HOST=<HOST>
3
+
Dockerfile
@@ -0,0 +1,22 @@
+# Use a Node.js base image
+FROM node:20
4
+# Set working directory
5
+WORKDIR /app
6
7
+# Copy package.json and install dependencies
8
+COPY package*.json ./
9
+RUN npm install
10
11
+# Copy the rest of the application code
12
+COPY . .
13
14
+# Expose the port the frontend runs on
15
+EXPOSE 3000
16
17
+# Build nextJS
18
+RUN npm run build
19
20
+# Start the frontend
21
+CMD ["npm", "start"]
22
0 commit comments