From 946b2d465688b8e24e5076620b350c24142a0ff6 Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 18 Mar 2025 20:13:35 +0100 Subject: [PATCH] =?UTF-8?q?Entferne=20Dockerfile=20f=C3=BCr=20die=20Node.j?= =?UTF-8?q?s-Anwendung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 1c5dcbf..0000000 --- a/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -# Use an official Node.js runtime as the base image -FROM node:18 - -# Set the working directory inside the container -WORKDIR /app - -# Copy package.json and package-lock.json to install dependencies -COPY backend/package*.json ./ - -# Install dependencies -RUN npm install - -# Copy backend source files -COPY backend /app/backend - -# Copy frontend files and serve them as static assets -COPY frontend /app/frontend - -# Set environment variable to production -ENV NODE_ENV=production - -# Expose the port the app runs on -EXPOSE 3000 - -# Start the application -CMD ["node", "backend/src/server.js"] \ No newline at end of file