FROM gitea/gitea:1.11.3
EXPOSE 3000
COPY . ${WORKDIR}
COPY sbin/* /sbin/
# TODO(decentral1se): install python3, pip3 instead
RUN apk --no-cache add \
ca-certificates \
mysql-client \
py-pip
RUN pip install --upgrade pip
RUN pip install --no-cache-dir crudini
ENTRYPOINT ["/sbin/entrypoint.sh"]