mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
feat: Initialize project
This commit is contained in:
19
Dockerfile
19
Dockerfile
@@ -1,19 +0,0 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
ARG GITHUB_TOKEN
|
||||
ARG SENTRY_DSN
|
||||
|
||||
ENV GITHUB_TOKEN $GITHUB_TOKEN
|
||||
ENV SENTRY_DSN $SENTRY_DSN
|
||||
|
||||
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 persistence
|
||||
|
||||
CMD [ "python3", "-m" , "sanic", "app:app", "--fast", "--access-logs", "--motd", "--noisy-exceptions", "-H", "0.0.0.0"]
|
||||
Reference in New Issue
Block a user