# Use an existing base image | |
FROM pengzhile/fuclaude:latest | |
# Create data directory and set permissions | |
RUN mkdir -p /data && chown 1000:1000 /data | |
# Copy the config.json into the container | |
COPY config.json /data/config.json | |
# Set environment variable | |
ENV FUCLAUDE_SIGNUP_ENABLED=true | |
# Switch to non-root user | |
USER 1000 | |
# Set working directory | |
WORKDIR /data | |
# Expose the port inside the container | |
EXPOSE 8181 | |
# Specify the command to run your application | |
CMD ["./fuclaude"] | |