spaceapi/webserver/Dockerfile

8 lines
273 B
Docker
Raw Permalink Normal View History

2021-01-04 11:12:51 +01:00
FROM debian:buster
RUN apt-get update && apt-get install -y nginx-light
ADD spaceapi.conf /etc/nginx/sites-available
RUN rm /etc/nginx/sites-enabled/*
RUN ln -s /etc/nginx/sites-available/spaceapi.conf /etc/nginx/sites-enabled/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]