17 lines
334 B
Docker
17 lines
334 B
Docker
FROM python:3.6
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt /usr/src/app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
RUN npm install -g bower grunt-cli
|
|
RUN npm install
|
|
RUN bower install
|
|
RUN grunt
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV LANG en_US.UTF-8
|
|
ENV PYTHONIOENCODING utf_8
|