File size: 482 Bytes
c3274da 9b6241d c9314ad 6db260a c9314ad 6db260a c9314ad 6db260a 9b6241d c3274da 9b6241d c3274da c9314ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# 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"]
|