Skip to content
Snippets Groups Projects
Dockerfile 367 B
Newer Older
  • Learn to ignore specific revisions
  • FROM docker-proxy.jonasled.de/library/alpine:latest
    
    
    #Copy files to work directory
    WORKDIR /app
    ADD ./app /app
    
    RUN apk add sqlite python3 py3-waitress py3-flask py3-qrcode py3-requests py3-pillow py3-itsdangerous py3-numpy && \
        chmod +x /app/*.sh && \
        date > builddate.txt
    
    #everytime the container starts run main.py
    EXPOSE 5000
    ENTRYPOINT python3 main.py