Remove CELERY_USER logic, unused now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ba6180511d
commit
dfe2642e95
@ -1,7 +1,6 @@
|
|||||||
FROM python:3.8-alpine
|
FROM python:3.8-alpine
|
||||||
|
|
||||||
ENV APP_ROOT /magic_app/
|
ENV APP_ROOT /magic_app/
|
||||||
ENV CELERY_USER celery
|
|
||||||
|
|
||||||
WORKDIR ${APP_ROOT}
|
WORKDIR ${APP_ROOT}
|
||||||
COPY . ${APP_ROOT}
|
COPY . ${APP_ROOT}
|
||||||
@ -15,13 +14,6 @@ RUN apk add --update \
|
|||||||
openssl-dev \
|
openssl-dev \
|
||||||
python3-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 pip install "poetry>=1.0.9,<2.0"
|
||||||
|
|
||||||
RUN poetry install \
|
RUN poetry install \
|
||||||
|
Reference in New Issue
Block a user