fix: entrypoint executable (#289)
This commit is contained in:
parent
e1003d4bb6
commit
e80627a3c3
1 changed files with 4 additions and 2 deletions
|
@ -45,7 +45,7 @@ RUN yarn build
|
||||||
|
|
||||||
# Use Alpine Linux as the final image
|
# Use Alpine Linux as the final image
|
||||||
FROM base
|
FROM base
|
||||||
|
# Install the necessary packages
|
||||||
RUN apk add --no-cache perl procps tini
|
RUN apk add --no-cache perl procps tini
|
||||||
|
|
||||||
COPY --from=builder /prisma-engines /prisma-engines
|
COPY --from=builder /prisma-engines /prisma-engines
|
||||||
|
@ -68,5 +68,7 @@ COPY --from=builder /zipline/node_modules/@prisma/client ./node_modules/@prisma/
|
||||||
|
|
||||||
# Copy Startup Script
|
# Copy Startup Script
|
||||||
COPY docker-entrypoint.sh /zipline
|
COPY docker-entrypoint.sh /zipline
|
||||||
|
# Make Startup Script Executable
|
||||||
|
RUN chmod a+x /zipline/docker-entrypoint.sh
|
||||||
|
# Set the entrypoint to the startup script
|
||||||
ENTRYPOINT ["tini", "--", "/zipline/docker-entrypoint.sh"]
|
ENTRYPOINT ["tini", "--", "/zipline/docker-entrypoint.sh"]
|
Loading…
Reference in a new issue