refactor(docker): remove unnecessary root user

The USER root directive isn't needed directly after FROM

Signed-off-by: Sebastian Yaghoubi <sebastianyaghoubi@gmail.com>
This commit is contained in:
Sebastian Yaghoubi 2024-12-26 12:11:13 -08:00
parent 125e206047
commit 1c017879fc
No known key found for this signature in database
GPG key ID: 563B612A0D06FC4F

View file

@ -1,7 +1,5 @@
FROM python:3.13-slim-bullseye
USER root
ARG INSTALL_GIT=false
RUN if [ "$INSTALL_GIT" = "true" ]; then \
apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*; \