Skip to content

Commit 779f2ba

Browse files
committed
fix(docker): use shell to execute CMD with && operator
1 parent 9c273f2 commit 779f2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ ENV PORT=3000
4444
EXPOSE 3000
4545

4646
# SOPS_AGE_KEY must be set at runtime
47-
CMD ["sops", "exec-env", "secrets.yaml", "bun drizzle-kit migrate && exec bun build/index.js"]
47+
CMD ["sh", "-c", "sops exec-env secrets.yaml 'bun drizzle-kit migrate && exec bun build/index.js'"]

0 commit comments

Comments
 (0)