mirror of
https://github.com/tiyn/amphora-wiki.git
synced 2025-03-16 22:37:48 +01:00
22 lines
269 B
Docker
22 lines
269 B
Docker
FROM ubuntu
|
|
|
|
MAINTAINER Tiyn tiyn@martenkante.eu
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install python3 python3-pip -y
|
|
|
|
COPY src /wiki
|
|
|
|
WORKDIR /wiki
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
VOLUME /wiki/templates/entry
|
|
|
|
EXPOSE 5000
|
|
|
|
ENTRYPOINT [ "python3" ]
|
|
|
|
CMD [ "app.py" ]
|