zhimin-z commited on
Commit
f7f631e
·
1 Parent(s): 605e063
Files changed (2) hide show
  1. Dockerfile +0 -22
  2. docker-compose.yml +0 -20
Dockerfile DELETED
@@ -1,22 +0,0 @@
1
- FROM python:3.12-slim
2
-
3
- # Set working directory
4
- WORKDIR /app
5
-
6
- # Install system dependencies
7
- RUN apt-get update && apt-get install -y \
8
- gcc \
9
- g++ \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Copy requirements file
13
- COPY requirements.txt .
14
-
15
- # Install Python dependencies
16
- RUN pip install --no-cache-dir -r requirements.txt
17
-
18
- # Set environment variables
19
- ENV PYTHONUNBUFFERED=1
20
-
21
- # Run the mining script with scheduler
22
- CMD ["python", "msr.py"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
docker-compose.yml DELETED
@@ -1,20 +0,0 @@
1
- services:
2
- miner:
3
- build:
4
- context: .
5
- dockerfile: Dockerfile
6
- container_name: ${COMPOSE_PROJECT_NAME}
7
- restart: unless-stopped
8
- env_file:
9
- - .env
10
- volumes:
11
- - .:/app
12
- - ../gharchive:/gharchive:ro
13
- - ../bot_data:/bot_data:ro
14
- environment:
15
- - PYTHONUNBUFFERED=1
16
- logging:
17
- driver: "json-file"
18
- options:
19
- max-size: "10m"
20
- max-file: "3"