Aufgearbeitet

This commit is contained in:
Honey committed 2026-02-08 19:53:46 +01:00
1 parent 497faa72db
commit 534b5a35fc
6 files changed
+273 -76

No files matched your search

+17 -2
View File
@@ -1,7 +1,22 @@
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
RUN npm install
# Install dependencies
RUN npm install --production
# Copy all application files
COPY . .
# Expose port
EXPOSE 3000
CMD ["npm", "start"]
# Set environment variables
ENV NODE_ENV=production
ENV PORT=3000
# Start the server
CMD ["node", "server.js"]