mirror of
https://github.com/casjaysdevdocker/wordpress
synced 2025-01-18 06:34:24 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
f4ce626f4c
commit
c2390d8bda
10
Dockerfile
10
Dockerfile
@ -2,15 +2,15 @@ FROM casjaysdevdocker/alpine:latest AS build
|
|||||||
|
|
||||||
ARG BUILD_DATE \
|
ARG BUILD_DATE \
|
||||||
VCS_REF \
|
VCS_REF \
|
||||||
PORT=80
|
PORT=80
|
||||||
|
|
||||||
ENV TERM="xterm" \
|
ENV TERM="xterm" \
|
||||||
DB_HOST="localhost" \
|
DB_HOST="localhost" \
|
||||||
DB_NAME="wordpress" \
|
DB_NAME="wordpress" \
|
||||||
DB_USER="root" \
|
DB_USER="root" \
|
||||||
DB_PASS="password"
|
DB_PASS="password"
|
||||||
|
|
||||||
RUN apk -U upgrade && \
|
RUN apk -U upgrade && \
|
||||||
apk add --no-cache bash curl less vim nginx ca-certificates git tzdata zip \
|
apk add --no-cache bash curl less vim nginx ca-certificates git tzdata zip \
|
||||||
libmcrypt-dev zlib-dev gmp-dev \
|
libmcrypt-dev zlib-dev gmp-dev \
|
||||||
freetype-dev libjpeg-turbo-dev libpng-dev \
|
freetype-dev libjpeg-turbo-dev libpng-dev \
|
||||||
@ -84,7 +84,7 @@ EXPOSE $PORT
|
|||||||
|
|
||||||
VOLUME ["/usr/html", "/var/lib/mysql", "/var/lib/wordpress/devel" ]
|
VOLUME ["/usr/html", "/var/lib/mysql", "/var/lib/wordpress/devel" ]
|
||||||
|
|
||||||
HEALTHCHECK CMD ["usr/local/bin/entrypoint-wordpress.sh", "healthcheck"]
|
HEALTHCHECK --interval=15s --timeout=3s CMD ["usr/local/bin/entrypoint-wordpress.sh", "healthcheck"]
|
||||||
ENTRYPOINT [ "tini", "-p", "SIGTERM", "--" ]
|
ENTRYPOINT [ "tini", "-p", "SIGTERM", "--" ]
|
||||||
CMD [ "//usr/local/bin/entrypoint-wordpress.sh" ]
|
CMD [ "//usr/local/bin/entrypoint-wordpress.sh" ]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user