See social network users cryptocurrency addresses and balances. Powered by transparent blockchains. https://iseeyour.cash/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
765 B

FROM python:3-alpine AS base
# Image to Build Dependencies
FROM base AS builder
WORKDIR /app
COPY ./requirements.txt /app
# Build Dependencies
RUN apk add gcc musl-dev libffi-dev openssl-dev libxml2-dev libxslt-dev file llvm-dev make g++
RUN apk add mariadb
# Python Dependencies
RUN pip install --no-cache-dir --prefix=/install gunicorn
RUN pip install --prefix=/install -r requirements.txt
# Runtime Environment Image
FROM base
ENV ISYC_DEBUG=0
WORKDIR /app
# Runtime Dependencies
RUN apk add libxml2 libxslt
RUN apk add --update docker openrc
RUN rc-update add docker boot
COPY --from=builder /install /usr/local
COPY . /app/
RUN mkdir -p ./data/db
EXPOSE 1338
CMD gunicorn iseeyourcash:app -b 0.0.0.0:1338 -w 4 --worker-class sanic.worker.GunicornWorker