Dockerfile (359B)
1FROM ubuntu:22.04 2 3RUN apt-get update && apt install -y python3-pip sqlite sudo 4 5WORKDIR /tmp 6COPY requirements.txt . 7RUN python3 -m pip install -r requirements.txt 8 9WORKDIR /service 10RUN mkdir data 11COPY static static 12COPY app.py crypto.py init.sql entrypoint.sh ./ 13 14RUN useradd -u 2000 cryptodude 15RUN chmod +x entrypoint.sh 16 17ENTRYPOINT /service/entrypoint.sh