Browse Source

pin version from, todo user

master
root 3 years ago
parent
commit
ee6bf68324
1 changed files with 6 additions and 5 deletions
  1. 11
      Dockerfile

11
Dockerfile

@ -1,8 +1,9 @@
FROM php:apache
FROM "php:7.1-apache"
USER www-data
USER "www-data"
RUN curl -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1 RUN curl -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1
USER root
# TODO: utiliser un utilisateur www-data
USER "root"
HEALTHCHECK --interval=10s \
CMD curl --fail "http://localhost" || exit 1
HEALTHCHECK --interval="10s" \
CMD curl --fail "http://localhost" || exit 1
Loading…
Cancel
Save