15 lines
258 B
Plaintext
15 lines
258 B
Plaintext
FROM alpine:3.5
|
|
|
|
RUN apk update
|
|
RUN apk add --no-cache python python-dev build-base py-pip libev-dev
|
|
RUN pip install --upgrade pip
|
|
RUN rm -r /root/.cache
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN pip install -r requirements.txt
|
|
|
|
ENTRYPOINT ["python"]
|
|
CMD ["server.py"]
|
|
|