# 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"] | |