cours-snt/test-python-ssh/Dockerfile

8 lines
223 B
Docker

FROM python:3-alpine
RUN apk update && apk add gcc linux-headers build-base
RUN pip install uwsgi
WORKDIR /usr/share/app
COPY app/* ./
CMD ["uwsgi", "--http", ":80", "--wsgi-file", "main.py"]
ENTRYPOINT ["./entrypoint.sh"]