mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
17 lines
418 B
Docker
17 lines
418 B
Docker
FROM python:3.11-slim
|
|
|
|
ARG GITHUB_TOKEN
|
|
ENV GITHUB_TOKEN $GITHUB_TOKEN
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
|
|
RUN apt update && \
|
|
apt-get install git build-essential libffi-dev libssl-dev openssl --no-install-recommends -y \
|
|
&& pip install --no-cache-dir -r requirements.txt
|
|
|
|
VOLUME persistance
|
|
|
|
CMD [ "python3", "-m" , "sanic", "app:app", "--fast", "--access-logs", "--motd", "--noisy-exceptions", "-H", "0.0.0.0"]
|