Reupload dockerfile with credits to author

Co-authored-by: Pypeaday <32268273+pypeaday@users.noreply.github.com>
This commit is contained in:
tdeerenberg
2023-04-16 21:05:39 +02:00
parent 915b4807f2
commit ca41f7a5f3

17
dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM python:3.10-slim
# Probably should do update/upgrade for any CVEs
WORKDIR /
# Set up requirements
COPY requirements.txt requirements.txt
# hadolint ignore=DL3013
RUN python3 -m pip install pip --upgrade --no-cache-dir && \
python3 -m pip install -r requirements.txt --no-cache-dir
# Copy in code
COPY ./src/musort-docker.py /musort.py
# docker run --name musort --rm -it musort --help
ENTRYPOINT ["python3", "/musort.py"]