Steve's initial commit

This commit is contained in:
2025-01-27 13:25:14 -07:00
committed by GitHub
parent 2e421a2075
commit 98870d51f1
6 changed files with 120 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# Use a lightweight Node image
FROM node:18-alpine
# Create app directory
WORKDIR /app
# Copy package.json first to leverage Docker caching
COPY package.json .
# Install dependencies
RUN npm install
# Copy the rest of the application files
COPY . .
# Expose port 3000 (the port your Node app will run on)
EXPOSE 3000
# Start the server
CMD ["node", "app.js"]