Add discord tunnel

This commit is contained in:
wugren
2023-12-07 14:55:43 +08:00
parent 8739bf6a76
commit 3494aa8f6b
8 changed files with 313 additions and 27 deletions
+11 -1
View File
@@ -1,4 +1,14 @@
FROM python:3.11
ENV PYTHON_VERSION=3.11
RUN apt-get update && apt-get install -y --no-install-recommends \
python${PYTHON_VERSION}-venv \
python${PYTHON_VERSION}-dev \
default-libmysqlclient-dev \
build-essential \
pkg-config \
&& rm -rf /var/lib/apt/lists/* \
WORKDIR /opt/aios
COPY ./src /opt/aios
COPY ./rootfs /opt/aios/app
@@ -12,4 +22,4 @@ RUN pip install --no-cache-dir -r /opt/aios/requirements.txt
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
CMD ["python3","./service/aios_shell/aios_shell.py"]
CMD ["python3","./service/aios_shell/aios_shell.py"]