Complete
This commit is contained in:
1 parent
1f3b27516f
commit
a3d3ab8c46
615 files changed
+69080
-85
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
# Use official Node.js LTS image
|
||||
FROM node:18
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy your files into the container
|
||||
COPY . .
|
||||
|
||||
# Install dependencies (only Express in your case)
|
||||
RUN npm install express
|
||||
|
||||
# Expose the port your server listens on
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the server
|
||||
CMD ["node", "server.js"]
|
||||
Reference in new issue
Block a user