B
Size: a a a
B
ID
ID
B
IK
А
AB
NK
Z
GK
Z
AO
AO
django.views.i18n.JavaScriptCatalog
GK
FROM python:3.6-slim
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apt-get update && apt-get install -y --no-install-recommends \
nano less \
build-essential \
curl \
mime-support \
netcat \
gettext libgettextpo-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
# Install API dependencies
COPY Pipfile Pipfile.lock ./
RUN pip install -U pipenv
RUN pipenv install --system
ADD . .
EXPOSE 8000
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD python project/manage.py migrate --noinput && uwsgi --ini=uwsgi.ini
Z
FROM python:3.6-slim
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apt-get update && apt-get install -y --no-install-recommends \
nano less \
build-essential \
curl \
mime-support \
netcat \
gettext libgettextpo-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
# Install API dependencies
COPY Pipfile Pipfile.lock ./
RUN pip install -U pipenv
RUN pipenv install --system
ADD . .
EXPOSE 8000
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD python project/manage.py migrate --noinput && uwsgi --ini=uwsgi.ini
GK
GK
GK
Z