Update Dockerfile
This commit is contained in:
+13
-7
@@ -1,7 +1,13 @@
|
|||||||
Code
|
FROM python:3.11-slim
|
||||||
+
|
|
||||||
Requirements
|
WORKDIR /app
|
||||||
+
|
|
||||||
Instructions
|
COPY requirements.txt
|
||||||
=
|
|
||||||
Docker Image
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY..
|
||||||
|
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
|
CMD ["python", "app.py"]
|
||||||
Reference in New Issue
Block a user