Skip to content

Commit f76ba3a

Browse files
committed
Remove unncessary complications from dockerfile
1 parent 54d6ddb commit f76ba3a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Dockerfile

-11
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,6 @@ COPY . .
3232
# Make entrypoint script executable
3333
RUN chmod +x /app/entrypoint.sh
3434

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-
4635
# Add healthcheck
4736
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
4837
CMD curl -f http://localhost:8000/health/ || exit 1

0 commit comments

Comments
 (0)