From 12ee3577bee8e3c1d95c618d116510b0289f7667 Mon Sep 17 00:00:00 2001 From: Dawsh Date: Mon, 4 Mar 2024 14:00:12 +0330 Subject: [PATCH] ci: write a Dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..94cfa00 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.11-alpine + +ENV PYTHONUNBUFFERED 1 + +WORKDIR /app + +COPY . . + +RUN apk add --no-cache curl unzip + +RUN curl -L https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main/install-release.sh | ash + +RUN apk add --no-cache alpine-sdk libffi-dev && pip install --no-cache-dir -r /app/requirements.txt && apk del -r alpine-sdk libffi-dev curl unzip + +CMD ["python3", "marznode.py"]