~bronikowski/elevencal

ref: bd0a7c9025e49df352228e76ab363c8a4b674390 elevencal/Dockerfile -rw-r--r-- 331 bytes
bd0a7c90Emil Oppeln-Bronikowski Docker publisher 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
FROM python:3.7-bullseye
WORKDIR /app
COPY . .
RUN apt update && apt dist-upgrade && apt -y install webfs cron && apt clean 
RUN pip3 install -r requirements.txt
RUN /app/docker_publish.sh
RUN echo "0 *  * * * /app/docker_publish.sh" | crontab -
CMD ["webfsd", "-F", "-f", "index.html", "-r", "./output", "-p", "3000"]
EXPOSE 3000