| 1234567891011121314151617181920212223 |
- FROM python:3.5
- ENV PYTHONUNBUFFERED 1
-
- COPY ./requirements.txt /requirements.txt
- RUN pip3 install -r /requirements.txt psycopg2 raven==5.32.0
-
- RUN groupadd -r django && useradd -r -g django django
- COPY . /app
- RUN chown -R django /app
-
- WORKDIR /app
-
-
- RUN make install
-
- USER django
-
- RUN make build_sandbox
-
- RUN cp --remove-destination /app/src/oscar/static/oscar/img/image_not_found.jpg /app/sandbox/public/media/
-
- WORKDIR /app/sandbox/
- CMD uwsgi --ini uwsgi.ini
|