Make sure directory is specific for web-files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
314092e071
commit
b852cb6033
@ -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 / {
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user