This commit is contained in:
Tour
2025-12-06 06:23:34 +01:00
parent 174d0b136e
commit 4ecb6625c8
2 changed files with 6 additions and 4 deletions

View File

@@ -21,14 +21,12 @@ RUN apt-get update && \
wget \
&& rm -rf /var/lib/apt/lists/*
# Create user (Debian syntax)
RUN groupadd -r quarkus && useradd -r -g quarkus quarkus
# Create user with explicit UID 1000 (Debian syntax)
RUN groupadd -r -g 1000 quarkus && useradd -r -u 1000 -g quarkus quarkus
# RUN groupadd -r -g 1000 quarkus && useradd -r -u 1000 -g quarkus quarkus
# Create the data directory and set ownership BEFORE switching user
RUN mkdir -p /mnt/okcomputer/output && \
chown -R quarkus:quarkus /mnt/okcomputer/output
# RUN mkdir -p /mnt/okcomputer/output && chown -R quarkus:quarkus /mnt/okcomputer/output
# Copy the built jar with correct pattern
COPY --from=builder --chown=quarkus:quarkus /app/target/auctiora-*.jar app.jar

View File

@@ -442,6 +442,10 @@ Kavel 12345 sluit binnen 5 min.
- OpenCV native libraries must match your platform architecture
- YOLO weights file is ~245 MB
```shell
git add . | git commit -a -m all | git push
```
## License
This is example code for educational purposes.