Skip to content

Commit

Permalink
ci: write a Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawsh committed Mar 4, 2024
1 parent 27e32f8 commit 12ee357
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 12ee357

Please sign in to comment.