Create Dockerfile
This commit is contained in:
1 parent
dbc2582fa6
commit
ece55ffe06
1 file changed
+8
@@ -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"]
|
||||||
Reference in new issue
Block a user