19 lines
361 B
Plaintext
19 lines
361 B
Plaintext
|
FROM ubuntu:20.04
|
||
|
|
||
|
MAINTANER Your Name "kuldeep.k@cisinlabs.com"
|
||
|
|
||
|
RUN apt-get update -y && \
|
||
|
apt-get install -y python-pip python-dev
|
||
|
|
||
|
# We copy just the requirements.txt first to leverage Docker cache
|
||
|
COPY ./requirements.txt /app/requirements.txt
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
COPY . /app
|
||
|
|
||
|
ENTRYPOINT [ "python" ]
|
||
|
|
||
|
CMD [ "server.py" ]
|