FROM gitea/gitea:1.12.0
EXPOSE 3020
EXPOSE 2222
COPY . ${WORKDIR}
COPY sbin/* /sbin/
RUN apk --no-cache add \
ca-certificates \
mysql-client \
py3-docutils \
py3-pip
RUN pip3 install --upgrade \
pip==20.0.2
# Note(decentral1se): https://github.com/pixelb/crudini/issues/58
RUN pip3 install --no-cache-dir \
"git+http://github.com/pixelb/crudini.git@0.9.3#egg=crudini"
ENTRYPOINT ["/sbin/entrypoint.sh"]