I hate the vibe
Build and Push Docker Images / build-and-push (push) Failing after 13s

This commit is contained in:
2025-07-02 10:00:22 +02:00
parent ef362ad23a
commit f31ee9ac15
3 changed files with 58 additions and 18 deletions
+5 -3
View File
@@ -24,10 +24,12 @@ ENV API_KEY="Q7Sd#hhFkyHy*T"
ENV TARGET_CONTAINER="puppeteer-api"
ENV CHECK_INTERVAL=60
# Create a non-root user
RUN useradd -m healthcheck && chown -R healthcheck:healthcheck /app
# Create docker group and user with docker group access
RUN groupadd -r docker && \
useradd -r -g docker healthcheck && \
chown -R healthcheck:docker /app
USER healthcheck
# Run the healthcheck script
CMD ["python", "healthcheck.py"]
CMD ["python", "healthcheck.py"]