Remove CELERY_USER logic, unused now
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-07-05 03:24:12 +02:00
parent ba6180511d
commit dfe2642e95
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,7 +1,6 @@
FROM python:3.8-alpine
ENV APP_ROOT /magic_app/
ENV CELERY_USER celery
WORKDIR ${APP_ROOT}
COPY . ${APP_ROOT}
@ -15,13 +14,6 @@ RUN apk add --update \
openssl-dev \
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 \