diff options
-rw-r--r-- | Dockerfile | 21 | ||||
-rw-r--r-- | docker-compose.yml | 15 |
2 files changed, 0 insertions, 36 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 55ba4ee..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# Use an official Node.js runtime as a parent image -FROM node:23 - -# Set the working directory in the container -WORKDIR /usr/src/app - -# Copy package.json and package-lock.json (or yarn.lock) -COPY package*.json ./ -COPY yarn.lock ./ - -# Install dependencies -RUN npm install - -# Copy the rest of the application code -COPY . . - -# Expose the port the app runs on -EXPOSE 3000 - -# Define the command to run the app -CMD ["npm", "start"]
\ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 5508fc7..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: '3.8' - -services: - app: - build: . - ports: - - "3000:3000" - volumes: - - .:/usr/src/app - - /usr/src/app/node_modules - environment: - - MONGO_URI=mongodb://root:xsZuVgVoA8WIUQgs68JImrYv5BqaaU8a0G7MoDiiPps%3D@192.168.0.2:27017/ - - GOOGLE_CREDENTIALS_PATH=./key.json - - SPREADSHEET_ID=1ZbJRxgN8undxjcXUQ2oRcRe1hw_xYRGL9WtrGcvqc30 - |