File size: 657 Bytes
c3274da 9b6241d 6db260a 9b6241d c3274da 9b6241d c3274da 9b6241d c3274da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# Use an existing base image
FROM pengzhile/fuclaude:latest
# 设置时区
# 创建数据目录并设置权限
RUN mkdir -p /data && chown 1000:1000 /data
# 切换到非root用户
USER 1000
# 设置工作目录
WORKDIR /data
# Expose the port inside the container
EXPOSE 8181
# Set any other configurations or commands if necessary
# For example, if additional setup or commands are needed upon container start-up,
# they can be added here.
# Specify the command to run your application
# CMD ["command", "parameter1", "parameter2", ...]
# Replace the command with the actual command that starts your application
CMD ["./fuclaude", "--port", "8181"]
|