postiz-app / Dockerfile
toykity
add endpoint connectivity diagnostic
ddcfdbb
Raw
History Blame Contribute Delete
616 Bytes
# Postiz - Custom image for HF Spaces
FROM toykitpostiz/postiz:tunnel
USER root
COPY var/docker/nginx.conf /etc/nginx/nginx.conf
COPY var/docker/temporal/temporal-mtls/client.crt /etc/nginx/ssl/client.crt
COPY var/docker/temporal/temporal-mtls/client.key /etc/nginx/ssl/client.key
COPY var/docker/temporal/temporal-mtls/ca.crt /etc/nginx/ssl/ca.crt
RUN chmod 600 /etc/nginx/ssl/client.key
RUN mkdir -p /data
COPY var/docker/endpoint-check.sh /app/endpoint-check.sh
RUN chmod +x /app/endpoint-check.sh
COPY var/docker/start.sh /app/start.sh
RUN chmod +x /app/start.sh
EXPOSE 7860
ENTRYPOINT ["/app/start.sh"]