22 lines
320 B
Docker
22 lines
320 B
Docker
FROM gitea/gitea:1.11.3
|
|
|
|
EXPOSE 3020
|
|
EXPOSE 2222
|
|
|
|
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"]
|