new file: .env.example
new file: .gitignore new file: Dockerfile new file: README.md new file: app.py new file: requirements.txt
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libffi-dev \
|
||||
libnacl-dev \
|
||||
python3-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV DISCORD_TOKEN=$DISCORD_TOKEN
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
Reference in New Issue
Block a user