Skip to content

Commit

Permalink
Removed the volume from the website in the docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaxii committed Jul 10, 2024
1 parent b38d116 commit da52e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ WORKDIR /var/www/html
# List files in the current directory (for debug purposes)
RUN echo "Files in the current directory before copying:" && ls -la


# Copy the application code to the container
COPY . .

# Install PHP dependencies
RUN composer install
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ services:
- API_DB_NAME=api
- API_DB_USER=${DB_USER}
- API_DB_PASSWORD=${DB_PASSWORD}
volumes:
- .:/var/www/html
depends_on:
- website
- api
Expand Down

0 comments on commit da52e3f

Please sign in to comment.