This repository has been archived on 2021-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Dockerfiles/Olympe/api/Dockerfile

18 lines
409 B
Docker

FROM xataz/nginx-php
ENV UID=991 \
GID=991
RUN mkdir /sites-enabled \
&& apk add -U git \
&& git clone --recursive https://git.drycat.fr/Dryusdan/Olympe-phpAPI.git /api \
&& apk del git \
&& rm -rf /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /api/.git
COPY rootfs /
RUN chmod +x /usr/local/bin/startup
ENTRYPOINT ["/usr/local/bin/startup"]
CMD ["/bin/s6-svscan", "/etc/s6.d"]