Spaces:
Runtime error

File size: 221 Bytes
107dc47
 
91f47bb
 
 
 
107dc47
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FROM statping/statping:latest

# 新增建立資料夾並賦予權限的指令
USER root
RUN mkdir -p /data/logs && chown -R 1000:1000 /data

ENV PORT=7860
ENV DB_TYPE=postgres

EXPOSE 7860
CMD ["/usr/local/bin/statping"]