macao-pos/Dockerfile

13 lines
279 B
Docker
Raw Normal View History

FROM alpine:latest
MAINTAINER Notisset <notisset@autistici.org>
RUN apk update && apk add musl-dev zlib-dev jpeg-dev gcc python3 python3-dev
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . /var/www/site
EXPOSE 8080
ENTRYPOINT python3 /var/www/site/web.py