11 lines
336 B
Plaintext
11 lines
336 B
Plaintext
# set base image (host OS)
|
|
FROM python:3.8
|
|
# copy the dependencies file to the working directory
|
|
COPY require.txt .
|
|
# install dependencies
|
|
RUN pip install -r require.txt
|
|
# copy the content of the local src directory to the working directory
|
|
COPY main.py .
|
|
# command to run on container start
|
|
CMD [ "python", "./telegramMiddleman.py" ]
|