File size: 541 Bytes
a16e531
 
 
61f0c22
a16e531
 
61f0c22
a16e531
61f0c22
 
 
 
 
 
a16e531
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Dockerfile for da-autoarchival using pre-built container image
# This Dockerfile pulls a pre-built image from the container registry
FROM docker.io/ahadoop/da-autoarchival:dev

# HF Spaces requires running as user with UID 1000
USER 1000

# Expose the service port (HF Spaces will map this to the configured app_port)
EXPOSE 8080

# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
    CMD curl -f http://localhost:8080/actuator/health || exit 1

# The CMD/ENTRYPOINT is inherited from the base image