16 lines
232 B
Docker
16 lines
232 B
Docker
|
FROM python:3.6
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
COPY requirements.txt .
|
||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
||
|
COPY app.py .
|
||
|
COPY app.conf .
|
||
|
COPY views ./views
|
||
|
COPY static ./static
|
||
|
|
||
|
EXPOSE 8000/tcp
|
||
|
|
||
|
CMD [ "python", "./app.py" ]
|