Convert to a django-list structure
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
FROM python:3.8-alpine
|
||||
|
||||
ENV APP_ROOT /magic_app/
|
||||
ENV CELERY_USER celery
|
||||
|
||||
WORKDIR ${APP_ROOT}
|
||||
COPY . ${APP_ROOT}
|
||||
|
||||
RUN apk add --update \
|
||||
build-base \
|
||||
curl \
|
||||
git \
|
||||
libffi-dev \
|
||||
libsasl \
|
||||
python3-dev
|
||||
|
||||
|
||||
RUN addgroup -S ${CELERY_USER}
|
||||
RUN adduser -D \
|
||||
-h ${APP_ROOT} \
|
||||
-s /usr/sbin/nologin \
|
||||
-G ${CELERY_USER} ${CELERY_USER}
|
||||
|
||||
RUN pip install "poetry>=1.0.9,<2.0"
|
||||
|
||||
RUN poetry install
|
Reference in New Issue
Block a user