Refactor Dockerfile to remove platform specification and clean up main.py by consolidating user permission checks

This commit is contained in:
Joakim Hellsén 2025-08-17 04:58:23 +02:00
commit 489d8980c8
2 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
# check=error=true;experimental=all
FROM --platform=$BUILDPLATFORM ghcr.io/astral-sh/uv:python3.13-bookworm-slim@sha256:73c021c3fe7264924877039e8a449ad3bb380ec89214282301affa9b2f863c5d
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim@sha256:73c021c3fe7264924877039e8a449ad3bb380ec89214282301affa9b2f863c5d
# Change the working directory to the `app` directory
WORKDIR /app