youtube-playlist-archiver/Dockerfile
2022-04-03 23:22:26 -04:00

14 lines
396 B
Docker

# set base image (host OS)
FROM python:3.9.10-slim-buster
# set the working directory in the container
WORKDIR /app
# 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 [ "python3", "main.py" ]