13 lines
279 B
Docker
13 lines
279 B
Docker
|
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
|