Make sure directory is specific for web-files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
bastian 2025-02-14 19:02:29 +01:00
parent 314092e071
commit b852cb6033
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ server {
listen 80;
server_name localhost;
root /var/www/public;
root /var/www/cgk-streaming-roster/public;
index index.php index.html;
location / {

View File

@ -1,7 +1,7 @@
FROM php:8.3-fpm
# Set working directory
WORKDIR /var/www
WORKDIR /var/www/cgk-streaming-roster
# Install required system dependencies
RUN apt-get update && apt-get install -y \

View File

@ -43,7 +43,7 @@ RUN npm install && npm run build
FROM php:8.3-fpm
# Set working directory
WORKDIR /var/www
WORKDIR /var/www/cgk-streaming-roster
# Install required PHP extensions (must be in runtime)
RUN apt-get update && apt-get install -y \
@ -60,7 +60,7 @@ COPY --from=php_builder /var/www ./
COPY --from=frontend_builder /app/public/build ./public/build
# Clean up
RUN rm -rf .DS_Store .idea .env.local /var/www/html /var/www/var/cache/dev Dockerfile* compose.yaml .git LICENSE README.md node_modules .woodpecker
RUN rm -rf .DS_Store .idea .env.local /var/www/html var/cache/dev Dockerfile* compose.yaml .git LICENSE README.md node_modules .woodpecker*
# Copy settings for PHP-FPM
COPY --link ./.docker/conf.d/05-app.ini $PHP_INI_DIR/conf.d/