Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- Dockerfile +4 -4
- requirements.txt +7 -0
Dockerfile
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
FROM python:3.14-alpine
|
| 2 |
|
| 3 |
-
COPY requirements.txt requirements.txt
|
| 4 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
-
|
| 6 |
WORKDIR /app
|
| 7 |
ENV DOCKER_ENV=true
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN adduser -D botuser
|
| 10 |
-
COPY .
|
| 11 |
RUN chown -R botuser:botuser /app
|
| 12 |
USER botuser
|
| 13 |
|
|
|
|
| 1 |
FROM python:3.14-alpine
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
ENV DOCKER_ENV=true
|
| 5 |
|
| 6 |
+
COPY requirements.txt .
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
|
| 9 |
RUN adduser -D botuser
|
| 10 |
+
COPY . .
|
| 11 |
RUN chown -R botuser:botuser /app
|
| 12 |
USER botuser
|
| 13 |
|
requirements.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
aiogram==3.25.0
|
| 2 |
+
python-dotenv==1.2.1
|
| 3 |
+
requests==2.32.5
|
| 4 |
+
httpx==0.28.1
|
| 5 |
+
configparser==7.2.0
|
| 6 |
+
PyYAML==6.0.3
|
| 7 |
+
aiohttp==3.11.12
|