23 lines
606 B
Docker
23 lines
606 B
Docker
|
|
FROM docker.io/library/nginx:alpine
|
||
|
|
|
||
|
|
# Copy the HTML file
|
||
|
|
COPY index.html /usr/share/nginx/html/
|
||
|
|
COPY tailwind.css /usr/share/nginx/html/
|
||
|
|
COPY qrcode.js /usr/share/nginx/html/
|
||
|
|
|
||
|
|
# Create directories for assets
|
||
|
|
RUN mkdir -p /usr/share/nginx/html/assets/img/app-icons && \
|
||
|
|
mkdir -p /usr/share/nginx/html/assets/img
|
||
|
|
|
||
|
|
# Copy assets
|
||
|
|
COPY lnd.svg /usr/share/nginx/html/assets/img/app-icons/
|
||
|
|
COPY bg-web5.jpg /usr/share/nginx/html/assets/img/
|
||
|
|
COPY bg-intro.jpg /usr/share/nginx/html/assets/img/
|
||
|
|
|
||
|
|
# Copy nginx config
|
||
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||
|
|
|
||
|
|
EXPOSE 80
|
||
|
|
|
||
|
|
CMD ["nginx", "-g", "daemon off;"]
|