From ece55ffe06c76eaccf16c5771f72c280f3d6ee23 Mon Sep 17 00:00:00 2001 From: Josh XT <102809327+Josh-XT@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:46:10 -0500 Subject: [PATCH] Create Dockerfile --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1624570 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.11-slim +WORKDIR /app +COPY . . +# Argument for specifying the GPU type, defaulting to "other" +ARG gpu_type=other +RUN pip install --no-cache-dir -r requirements_${gpu_type}.txt +EXPOSE 7851 +CMD ["python", "script.py"]