File: /home/frenchy/www/french-american.org/current/docker/nginx/Dockerfile
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y upgrade && apt-get -y install wget zip && apt-get install -y nginx kmod curl && rm -rf /var/lib/apt/lists/* && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get install -y nodejs
EXPOSE 8080
COPY nginx.conf /etc/nginx/nginx.conf
RUN chown -R www-data:www-data /var/www
RUN chown -R www-data:www-data /var/lib/nginx
USER www-data
CMD ["nginx", "-g", "daemon off;"]