mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Replace Bash with POSIX sh in Docker image
This commit is contained in:
parent
5737ed43cb
commit
4a3de1fd9e
|
|
@ -43,6 +43,6 @@ LABEL org.opencontainers.image.description "Lysand Server docker image"
|
||||||
# CD to app
|
# CD to app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENTRYPOINT [ "/bin/bash", "/app/entrypoint.sh" ]
|
ENTRYPOINT [ "/bin/sh", "/app/entrypoint.sh" ]
|
||||||
# Run migrations and start the server
|
# Run migrations and start the server
|
||||||
CMD [ "start" ]
|
CMD [ "start" ]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# This script is a wrapper for the main server, CLI and Prisma binaries.
|
# This script is a wrapper for the main server, CLI and Prisma binaries.
|
||||||
# Commands:
|
# Commands:
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# - `cli`: Starts the CLI, sends all arguments to it
|
# - `cli`: Starts the CLI, sends all arguments to it
|
||||||
|
|
||||||
# Exit immediately if a command exits with a non-zero status.
|
# Exit immediately if a command exits with a non-zero status.
|
||||||
set -euo pipefail
|
set -euo
|
||||||
|
|
||||||
cd /app/dist
|
cd /app/dist
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue