[INIT]
This commit is contained in:
commit
93237ec7d2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
venv
|
||||
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM python:3.10.12
|
||||
|
||||
MAINTAINER Tan Jin (tjtanjin)
|
||||
|
||||
# set a directory for the app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# copy all the files to the container
|
||||
COPY . .
|
||||
RUN mkdir ./images
|
||||
|
||||
# install app-specific dependencies
|
||||
RUN pip install --no-cache-dir -r req.txt
|
||||
RUN pip install python-telegram-bot[job-queue]
|
||||
|
||||
# app command
|
||||
CMD ["python", "-u", "./main.py"]
|
||||
Loading…
x
Reference in New Issue
Block a user