From f182505c3f5f11b7cf0915583b563d2b45728657 Mon Sep 17 00:00:00 2001 From: Tobias Ullerich <tobias@thecodedev.de> Date: Fri, 3 Apr 2020 23:41:53 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fc91437 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.7-alpine + +RUN pip install pipenv +COPY . /opt/SaveMyPlaylist + +WORKDIR /opt/SaveMyPlaylist +RUN pipenv install +RUN ln -s $(pipenv --venv) /opt/SaveMyPlaylist/mypipenv + +CMD [ "/opt/SaveMyPlaylist/mypipenv/bin/python", "/opt/SaveMyPlaylist/SaveMyPlaylist.py" ] \ No newline at end of file -- GitLab