fix: backend prod

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
Ameya Shenoy 2023-03-23 16:57:55 +05:30
parent 09d5d584b5
commit a13c3c7516
Signed by: codingcoffee
GPG key ID: EEC8EA855D61CEEC

View file

@ -15,8 +15,8 @@ COPY requirements.txt /
RUN set -ex \
&& pip install --no-cache-dir -r /requirements.txt \
&& pip install --no-cache-dir gunicorn==$GUNICORN_VERSION \
&& addgroup -S ${APP_USER} \
&& adduser -S ${APP_USER} -G ${APP_USER} \
&& groupadd ${APP_USER} \
&& useradd -m -G ${APP_USER} ${APP_USER} \
&& mkdir -p /code/static \
&& mkdir -p /code/media \
&& mkdir -p /code/static_cdn \