-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
Couple comments/questions ...
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
FROM tiangolo/uwsgi-nginx:python3.6-alpine3.7 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we just copy this guy's Dockerfile to ~/cloud-automation/Docker/uwsgi-nginx
, and make our own alpine
base image that all of our python services inherit from?
Dockerfile
Outdated
|
||
# ensure www-data user exists | ||
RUN addgroup -g 82 -S www-data \ | ||
&& adduser -u 82 -D -S -G www-data www-data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure alpine nginx already creates an nginx
user - why don't we change nginx.conf
to use that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool! 👍
Use an Alpine-based docker image instead of Ubuntu
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes
The Dockerfile now uses an Alpine image