feat: init files

This commit is contained in:
2025-06-17 22:58:08 +08:00
parent 3c77faf93e
commit 6b090a93c9
10 changed files with 385 additions and 0 deletions

24
Dockerfile Normal file
View File

@ -0,0 +1,24 @@
# Use Node.js Alpine for smaller image
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Copy your project-specific .npmrc
#COPY .npmrc ./
# Install dependencies
RUN npm install
# Copy the rest of the app
COPY . .
# Expose port
EXPOSE 3000
# Run the app
CMD ["node", "src/server.mjs"]