added php execution

This commit is contained in:
Pin
2022-03-05 17:06:20 -05:00
parent 7520553672
commit 01507d2734
9 changed files with 145 additions and 32 deletions

View File

@@ -4,13 +4,14 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install \
-y openssl libssl-dev make gcc pkg-config
-y openssl libssl-dev make gcc pkg-config php php-cgi
COPY Makefile /src/
COPY src/ /src/src/
COPY cmd/ /src/cmd/
COPY include/ /src/include/
COPY ca/ /src/ca/
COPY entrypoint.sh /
COPY content/ /var/www/html
@@ -25,3 +26,6 @@ RUN printf "y\ny\n" | make genCerts
EXPOSE 8080/tcp
CMD ["--verbose"]
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]