mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 05:54:53 +03:00
Move to the python:alpine docker image
- Migrate group and user creation to Alpine syntax
This commit is contained in:
parent
bf08a56e84
commit
a50aa17f70
|
@ -11,8 +11,8 @@ RUN apk update \
|
|||
# CFFI dependencies
|
||||
&& apk add libffi-dev openssl-dev py-cffi
|
||||
|
||||
RUN groupadd -r django \
|
||||
&& useradd -r -g django django
|
||||
RUN addgroup -S django \
|
||||
&& adduser -S -G django django
|
||||
|
||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||
COPY ./requirements /requirements
|
||||
|
|
Loading…
Reference in New Issue
Block a user