mirror of
https://github.com/openmax-server/server.git
synced 2026-05-22 19:41:41 +03:00
feat: 23 опкод для регистрации, смс шлюз, докер
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ ./src/
|
||||
|
||||
WORKDIR /app/src
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user