This commit is contained in:
Logen
2025-10-28 09:19:25 -04:00
parent 0714fcfb7a
commit 2c81078e77
4 changed files with 32 additions and 1 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Use an official lightweight Node image
FROM node:20-alpine
# Set the working directory inside the container
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of the project files
COPY . .
# Expose the port your app uses
EXPOSE 9000
# Default command to start your site
CMD ["npm", "run", "both"]