You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
422 B
Docker
18 lines
422 B
Docker
FROM python:3.6
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
VOLUME /mapping
|
|
|
|
COPY requirements.txt /usr/src/app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
emacs-nox
|
|
|
|
#CMD ["python", "-u","/usr/src/app/server.py"]
|
|
CMD ["sh","/usr/src/app/start.sh"]
|
|
|
|
COPY . /usr/src/app/
|