Update Dockerfile and docker-compose.yml to use new directory structure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
cdn-app-insider:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: swiftlogiclabs/cdn-app-insider:latest
|
||||
restart: unless-stopped
|
||||
container_name: cdn-app-container
|
||||
ports:
|
||||
@@ -13,7 +11,9 @@ services:
|
||||
- cdn-files:/home/cdn-app/cdn-files
|
||||
- report:/home/cdn-app/report
|
||||
- data:/home/cdn-app/data
|
||||
command: sh -c "if [ ! -f /home/cdn-app/moved_files ]; then mv /app/cdn-app-insider/* /home/cdn-app && touch /home/cdn-app/moved_files; fi && node server.js"
|
||||
|
||||
volumes:
|
||||
cdn-files:
|
||||
report:
|
||||
data:
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user