Update Dockerfile

utils and assets not used in this example hence removed
This commit is contained in:
allenmylath
2024-10-15 08:18:16 +05:30
committed by GitHub
parent b4f2525c76
commit ec98a13a08

View File

@@ -1,16 +1,10 @@
FROM python:3.10-bullseye
RUN mkdir /app
RUN mkdir /app/assets
RUN mkdir /app/utils
COPY *.py /app/
COPY requirements.txt /app/
copy assets/* /app/assets/
copy utils/* /app/utils/
WORKDIR /app
RUN pip3 install -r requirements.txt
EXPOSE 7860
CMD ["python3", "server.py"]
CMD ["python3", "server.py"]