FROM gitea/gitea:1.11.3
EXPOSE 3020
EXPOSE 2222
COPY . ${WORKDIR}
COPY sbin/* /sbin/
RUN apk --no-cache add ca-certificates mysql-client py3-pip
RUN pip3 install --upgrade pip==20.0.2
RUN pip3 install --no-cache-dir crudini==0.9
ENTRYPOINT ["/sbin/entrypoint.sh"]