This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-16 13:05:16 +00:00
|
|
|
FROM gitea/gitea:1.11.3
|
2020-03-10 08:35:48 +00:00
|
|
|
|
2020-03-15 11:41:24 +00:00
|
|
|
EXPOSE 3000
|
2020-03-23 14:14:51 +00:00
|
|
|
EXPOSE 2222
|
2020-03-15 11:41:24 +00:00
|
|
|
|
2020-03-15 08:28:34 +00:00
|
|
|
COPY . ${WORKDIR}
|
2020-03-12 15:13:58 +00:00
|
|
|
|
2020-03-15 11:41:24 +00:00
|
|
|
COPY sbin/* /sbin/
|
|
|
|
|
2020-03-22 16:54:19 +00:00
|
|
|
# TODO(decentral1se): install python3, pip3 instead
|
|
|
|
|
2020-03-22 16:41:30 +00:00
|
|
|
RUN apk --no-cache add \
|
|
|
|
ca-certificates \
|
|
|
|
mysql-client \
|
|
|
|
py-pip
|
|
|
|
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir crudini
|
2020-03-22 16:24:02 +00:00
|
|
|
|
2020-03-17 12:48:16 +00:00
|
|
|
ENTRYPOINT ["/sbin/entrypoint.sh"]
|