NUT_to_Influx/dockerfile
Sean Corrigan a1f25f1dda oopsie
2021-09-14 16:52:30 -04:00

11 lines
346 B
Plaintext

# set base image (host OS)
FROM python:3.8
# copy the dependencies file to the working directory
COPY requirements.txt .
# install dependencies
RUN pip install -r requirements.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" ]