salix/services/nginx/Dockerfile

17 lines
355 B
Docker

FROM debian:stretch-slim
EXPOSE 80
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y apt-utils \
&& apt-get install -y \
curl \
gnupg2 \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y \
nginx \
nodejs \
&& npm -g install pm2
CMD ["bash"]