diff options
author | 2025-02-03 13:56:28 +0600 | |
---|---|---|
committer | 2025-02-03 13:56:28 +0600 | |
commit | 2c272da15409fe99511f1b947e4196345f2b2e1d (patch) | |
tree | f9fd326f95337452f6803d01913fc1d0b651dde0 | |
parent | 807f1ee15a485a9a07de1beedd6c86c4a9eeb5c9 (diff) | |
download | inventory-2c272da15409fe99511f1b947e4196345f2b2e1d.tar.gz inventory-2c272da15409fe99511f1b947e4196345f2b2e1d.zip |
...
-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 - |