fix: auto-create data directory and initialize DB in nextgen container
Build and Push Docker Images / deploy (push) Blocked by required conditions
Details
Build and Push Docker Images / build (musicseerr) (push) Failing after 5m1s
Details
Build and Push Docker Images / build (api) (push) Failing after 5m8s
Details
Build and Push Docker Images / build (worker) (push) Failing after 1m30s
Details
Build and Push Docker Images / build (web) (push) Failing after 1m38s
Details
Build and Push Docker Images / build (nextgen) (push) Failing after 11m24s
Details
Build and Push Docker Images / deploy (push) Blocked by required conditions
Details
Build and Push Docker Images / build (musicseerr) (push) Failing after 5m1s
Details
Build and Push Docker Images / build (api) (push) Failing after 5m8s
Details
Build and Push Docker Images / build (worker) (push) Failing after 1m30s
Details
Build and Push Docker Images / build (web) (push) Failing after 1m38s
Details
Build and Push Docker Images / build (nextgen) (push) Failing after 11m24s
Details
This commit is contained in:
parent
4cd1f5b908
commit
d524b00271
|
|
@ -28,4 +28,4 @@ EXPOSE 3001
|
||||||
ENV PORT=3001
|
ENV PORT=3001
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
CMD ["node", "src/index.js"]
|
CMD ["sh", "-c", "mkdir -p ../data && ([ -f ../data/school.db ] || node src/database/init.js) && node src/index.js"]
|
||||||
Loading…
Reference in New Issue