macao-pos/Dockerfile

15 lines
444 B
Docker
Raw Permalink Normal View History

FROM alpine:latest
MAINTAINER Notisset <notisset@autistici.org>
#Pillow requires the following dependencies to build: musl-dev zlib-dev jpeg-dev gcc python3-dev
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
RUN sed -i '/Address/s/= .*/= 0.0.0.0/' /var/www/site/conf/core.ini
EXPOSE 8080
ENTRYPOINT python3 /var/www/site/web.py