21 lines
340 B
Text
21 lines
340 B
Text
|
FROM theorangeone/docker-pyenv-nvm
|
||
|
|
||
|
ENV LC_ALL C.UTF-8
|
||
|
ENV LANG C.UTF-8
|
||
|
|
||
|
RUN mkdir /app
|
||
|
|
||
|
RUN apt-get update && apt-get install python3-pip git -y && pip3 install pipenv
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY Pipfile Pipfile
|
||
|
COPY Pipfile.lock Pipfile.lock
|
||
|
RUN pipenv install --deploy --system
|
||
|
|
||
|
COPY . /app
|
||
|
|
||
|
RUN ./manage.py collectstatic --noinput
|
||
|
|
||
|
EXPOSE 8000
|