From 9f5d53513f224155dede3b01d8506c18287fd3d8 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 29 Jan 2024 15:08:33 +0200 Subject: [PATCH] Add dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ffb3fdb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3 + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir /usr/src/app/ + +COPY . . + +# CMD [ "python", "./your-daemon-or-script.py" ] +CMD [ "sh" ]