mqtt2prom/webserv/Dockerfile

8 lines
261 B
Docker
Raw Normal View History

2024-08-14 14:51:03 +02:00
FROM debian:12
RUN apt-get update && apt-get install -y nginx-light
ADD prom.conf /etc/nginx/sites-available
RUN rm /etc/nginx/sites-enabled/*
RUN ln -s /etc/nginx/sites-available/prom.conf /etc/nginx/sites-enabled/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]