Skip to content

Commit 980dad2

Browse files
committed
put ./scripts/run.sh in dockerfile instead as most paas dont support compose
1 parent 140116a commit 980dad2

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

docker/development/docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ services:
1616
# - .:/app
1717
- ../../data:/data
1818
restart: unless-stopped
19-
command: sh -c "sh ./scripts/run.sh"

docker/production/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ COPY --from=litestream/litestream:latest --chown=node:node /usr/local/bin/litest
8585
COPY --from=builder --chown=node:node /app/litestream.yml /etc/litestream.yml
8686

8787
COPY --from=builder --chown=node:node /app/scripts ./scripts
88+
89+
CMD ["sh", "./scripts/run.sh"]

docker/production/docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ services:
1414
volumes:
1515
- ../../data:/data
1616
restart: unless-stopped
17-
command: sh -c "sh ./scripts/run.sh"

docker/staging/docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ services:
1414
volumes:
1515
- ../../data:/data
1616
restart: unless-stopped
17-
command: sh -c "sh ./scripts/run.sh"

0 commit comments

Comments
 (0)