File size: 377 Bytes
436fb65
2c4b17d
6f2f7ba
b892444
c3cf565
5c308ce
7ea254c
 
9c7f909
 
5c308ce
d55b073
c3cf565
 
d55b073
b892444
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ghcr.io/olegshulyakov/llama.ui:latest

# Copy custom nginx config
COPY --chown=1000 nginx.conf /etc/nginx/conf.d/default.conf

# Create necessary cache directories with proper permissions
RUN chown -R 1000:1000 /var/cache/nginx && \
    chown -R 1000:1000 /run

USER 1000

# Expose port 7860
EXPOSE 7860

# Start Nginx in foreground mode
CMD ["nginx", "-g", "daemon off;"]