Remove volume mount for public directory - files built into image
The volume mount was overwriting the public directory from the Docker image with an empty directory from the host, causing ENOENT errors. Public files are now served from the Docker image via COPY command.
This commit is contained in:
@@ -42,8 +42,6 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- recruitment-network
|
- recruitment-network
|
||||||
volumes:
|
|
||||||
- ./public:/app/public
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user