ggg / Dockerfile
gdtiti's picture
Update Dockerfile
2e65c48 verified
raw
history blame contribute delete
336 Bytes
FROM ghcr.io/gdtiti/drraw_nopoint:v1.0.11
USER root
# 创建应用需要的目录并设置权限
RUN chown -R jimeng:nodejs /app/logs /app/tmp /app/data
USER jimeng
# 暴露端口
EXPOSE 7860
# 健康检查
HEALTHCHECK --interval=15s --timeout=5s --start-period=20s --retries=3 \
CMD wget -q --spider http://localhost:7860/ping