Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Dockerfile 491B

1234567891011121314151617181920212223
  1. FROM python:2.7
  2. ENV PYTHONUNBUFFERED 1
  3. COPY ./requirements.txt /requirements.txt
  4. RUN pip install -r /requirements.txt
  5. RUN groupadd -r django && useradd -r -g django django
  6. COPY . /app
  7. RUN chown -R django /app
  8. WORKDIR /app
  9. RUN make install
  10. USER django
  11. RUN make build_sandbox
  12. RUN cp --remove-destination /app/src/oscar/static/oscar/img/image_not_found.jpg /app/sites/sandbox/public/media/
  13. RUN chmod +x /app/sites/sandbox/deploy/run_uwsgi.sh
  14. CMD /app/sites/sandbox/deploy/run_uwsgi.sh