We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d6ddb commit f76ba3aCopy full SHA for f76ba3a
Dockerfile
@@ -32,17 +32,6 @@ COPY . .
32
# Make entrypoint script executable
33
RUN chmod +x /app/entrypoint.sh
34
35
-
36
-# Create a non-root user
37
-RUN useradd -m appuser && chown -R appuser:appuser /app
38
39
-# Create data directory with correct permissions
40
-RUN mkdir -p /data && \
41
- chmod -R 777 /data && \
42
- chown -R appuser:appuser /data
43
44
-USER appuser
45
46
# Add healthcheck
47
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
48
CMD curl -f http://localhost:8000/health/ || exit 1
0 commit comments