Browse Source

Pongo usuario de trabajo en Dockerfile

main
Celestino Rey 11 months ago
parent
commit
ecdc1508ba
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      Dockerfile

+ 4
- 3
Dockerfile View File

@ -6,13 +6,14 @@ RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME WORKDIR $APP_HOME
USER 0 USER 0
ADD . $APP_HOME
# Install the dependencies
RUN apk add sqlite
ADD . $APP_HOME
RUN chown -R 1000770000:0 ./ RUN chown -R 1000770000:0 ./
USER 1000770000 USER 1000770000
# Install the dependencies
RUN apk add sqlite
RUN pip install -U "pip>=19.3.1" && \ RUN pip install -U "pip>=19.3.1" && \
pip install -r requirements.txt && \ pip install -r requirements.txt && \
# python manage.py collectstatic --noinput && \ # python manage.py collectstatic --noinput && \


Loading…
Cancel
Save