From d43c1d3cddf5bfdeac99c2293be0075621a168af Mon Sep 17 00:00:00 2001 From: Sebastian Gabriel Savu <45766423+sgsavu@users.noreply.github.com> Date: Sun, 7 May 2023 06:32:16 +0100 Subject: [PATCH] add ability to containerize with Docker (add Dockerfile) (#240) Co-authored-by: Sebastian Savu --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..49f62d5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +# syntax=docker/dockerfile:1 + +FROM python:3.10-bullseye + +EXPOSE 7865 + +WORKDIR /app + +COPY . . + +RUN pip3 install -r requirements.txt + +CMD ["python3", "infer-web.py"] \ No newline at end of file