updates aa to v1.2.3

This commit is contained in:
msramalho
2026-03-02 16:17:50 +00:00
parent 8f8165f3b9
commit 4b4877a643
2 changed files with 12 additions and 5 deletions

View File

@@ -1,11 +1,15 @@
# From python:3.10
FROM bellingcat/auto-archiver:v1.2.2
FROM bellingcat/auto-archiver:v1.2.3
# set work directory
WORKDIR /aa-api
# Switch to root for privileged operations (base image runs as UID 1000)
USER root
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
sh get-docker.sh
sh get-docker.sh && \
usermod -aG docker ubuntu
# set environment variables
ENV LANG=C.UTF-8 \
PYTHONUNBUFFERED=1 \
@@ -29,4 +33,7 @@ RUN ./poetry-venv/bin/poetry install --without dev --no-root --no-cache
COPY ../../app ./app/
COPY ../../user-groups.* ./app/
# Switch back to non-root user
USER 1000
ENTRYPOINT ["./poetry-venv/bin/poetry", "run"]