fixed docker file
This commit is contained in:
parent
96d0fc8da7
commit
e559156232
@ -11,6 +11,8 @@ FROM python:3.11-slim-bookworm AS final
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
libgomp1 \
|
libgomp1 \
|
||||||
|
libgl1 \
|
||||||
|
libglib2.0-0 \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@ -18,10 +20,10 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --from=builder /install /usr/local
|
COPY --from=builder /install /usr/local
|
||||||
COPY app.py .
|
COPY app.py .
|
||||||
|
COPY config.py .
|
||||||
COPY gunicorn.conf.py .
|
COPY gunicorn.conf.py .
|
||||||
COPY run.sh .
|
COPY run.sh .
|
||||||
COPY VERSION .
|
COPY VERSION .
|
||||||
COPY backend/ backend/
|
|
||||||
COPY lib/ lib/
|
COPY lib/ lib/
|
||||||
COPY static/ static/
|
COPY static/ static/
|
||||||
COPY templates/ templates/
|
COPY templates/ templates/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user