8 lines
393 B
Docker
8 lines
393 B
Docker
FROM webdevops/php-nginx:8.3-alpine
|
|
ENV WEB_DOCUMENT_ROOT=/app/public
|
|
ARG CACHE_BUST=1771109471
|
|
COPY . /app
|
|
RUN echo "index index.php index.html index.htm;" > /opt/docker/etc/nginx/vhost.common.d/01-index.conf \
|
|
&& echo "add_header Cache-Control 'no-cache, no-store, must-revalidate';" > /opt/docker/etc/nginx/vhost.common.d/02-no-cache.conf \
|
|
&& chown -R application:application /app
|