Files
meshtastic-bridge/Dockerfile
Geoff Whittington b6e506b144 plugins
2022-08-20 16:51:42 -04:00

19 lines
414 B
Docker

# set base image (host OS)
FROM python:3.8
# set the working directory in the container
WORKDIR /code
# 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 .
COPY plugins.py .
# command to run on container start
CMD [ "python", "./main.py" ]