Update Dockerfile
utils and assets not used in this example hence removed
This commit is contained in:
@@ -1,13 +1,7 @@
|
|||||||
FROM python:3.10-bullseye
|
FROM python:3.10-bullseye
|
||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
RUN mkdir /app/assets
|
|
||||||
RUN mkdir /app/utils
|
|
||||||
COPY *.py /app/
|
COPY *.py /app/
|
||||||
COPY requirements.txt /app/
|
COPY requirements.txt /app/
|
||||||
copy assets/* /app/assets/
|
|
||||||
copy utils/* /app/utils/
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user