teralomaniac commited on
Commit
871703f
1 Parent(s): 5208e12

Delete docker

Browse files
Files changed (3) hide show
  1. docker/.gitkeep +0 -0
  2. docker/Dockerfile +0 -27
  3. docker/docker-compose.yml +0 -11
docker/.gitkeep DELETED
File without changes
docker/Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- # Use the official Node.js image as the base image
2
- FROM node:20.4
3
-
4
- # Set the working directory in the container
5
- WORKDIR /app
6
-
7
- # Copy the package.json and package-lock.json files to the container
8
- COPY package*.json ./
9
-
10
- # Install the dependencies
11
- RUN npm install --no-audit --fund false
12
-
13
- # Copy the rest of the files to the container
14
- COPY . .
15
-
16
- # Change ownership of files in lib/bin and set permissions
17
- RUN chown -R node:node lib/bin/* && \
18
- chmod u+x lib/bin/* && \
19
- chmod -R 777 /app
20
-
21
- # Run as the "node" user for better security practices
22
- USER node
23
-
24
- RUN ls -la
25
-
26
- # Start the application
27
- CMD ["node", "clewd.js"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
docker/docker-compose.yml DELETED
@@ -1,11 +0,0 @@
1
- version: '3'
2
- services:
3
- app:
4
- build:
5
- context: ..
6
- dockerfile: docker/Dockerfile
7
-
8
- ports:
9
- - 8444:8444
10
- volumes:
11
- - ..:/app