feat: initial commit
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m50s

This commit is contained in:
2025-11-01 03:10:21 +04:00
commit c12beb95e2
11 changed files with 915 additions and 0 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
# syntax=docker/dockerfile:1
FROM python:3.11-slim AS runtime
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
VIRTUAL_ENV=/opt/venv
RUN python -m venv "$VIRTUAL_ENV"
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
COPY bridge.py ./
COPY bridge_app ./bridge_app
VOLUME ["/app/max_session"]
ENTRYPOINT ["python", "bridge.py"]