|
|
@@ -3,7 +3,7 @@
|
|
|
# BUILDER #
|
|
|
##################
|
|
|
|
|
|
-FROM python:3.11.4-slim-buster AS builder
|
|
|
+FROM python:3.11-slim AS builder
|
|
|
|
|
|
# set work directory
|
|
|
WORKDIR /app
|
|
|
@@ -31,7 +31,7 @@ RUN pip wheel --no-cache-dir --no-deps --wheel-dir /app/wheels -r requirements.t
|
|
|
# FINAL #
|
|
|
##################
|
|
|
|
|
|
-FROM python:3.11.4-slim-buster
|
|
|
+FROM python:3.11-slim
|
|
|
|
|
|
# create the appropriate directories
|
|
|
ENV APP_HOME=/app
|
|
|
@@ -40,7 +40,8 @@ RUN mkdir -p $APP_HOME
|
|
|
WORKDIR $APP_HOME
|
|
|
|
|
|
# install system dependencies
|
|
|
-RUN apt-get update && apt-get install -y sqlite3 netcat vim procps curl jq libpango-1.0-0 libpangocairo-1.0-0 libcairo2
|
|
|
+RUN apt-get update && apt-get install nginx netcat-openbsd curl vim jq rsync libpango-1.0-0 libpangocairo-1.0-0 libcairo2 -y
|
|
|
+
|
|
|
COPY --from=builder /app/wheels /wheels
|
|
|
COPY --from=builder /app/requirements.txt .
|
|
|
|