Skip to content

Commit 0cb8230

Browse files
authored
add docker volume to persist strapi uploads
1 parent 2b3dae0 commit 0cb8230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
docker run --network=host -d --name rc-api \
3939
-p 1337:1337 \
4040
--env-file /home/rheumac/envs/rc-api/.env \
41+
-v /strapi-uploads:/usr/src/app/public/uploads \
4142
pawanlive/rc-api:latest
4243
4344
# Exit the SSH session

0 commit comments

Comments
 (0)