Fix loading issues and containerize app

This commit is contained in:
nmemmert committed 2025-10-27 10:26:31 -04:00
1 parent 2665bde810
commit 5ffdb191e5
3 files changed
+361 -54

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy source code
COPY . .
# Build the application
RUN npm run build
# Expose port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]