Skip to content

Instantly share code, notes, and snippets.

@alickmail
Created July 31, 2019 09:16
Show Gist options
  • Save alickmail/2177f931729ca3651dbc735b6d649410 to your computer and use it in GitHub Desktop.
Save alickmail/2177f931729ca3651dbc735b6d649410 to your computer and use it in GitHub Desktop.
FROM nginx
RUN apt-get update && apt-get install -y python curl && curl -O <https://bootstrap.pypa.io/get-pip.py> && \\
python get-pip.py
RUN update-ca-certificates
WORKDIR /nginx
ADD default.conf /etc/nginx/conf.d/default.conf
# Define default command.
CMD ["nginx", "-g", "daemon off;"]
# Expose ports.
EXPOSE 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment