Create Dockerfile

This commit is contained in:
Josh XT authored and GitHub committed 2024-01-22 10:46:10 -05:00
1 parent dbc2582fa6
commit ece55ffe06
1 file changed
+8
+8
View File
@@ -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"]