Added sessionData dir to Dockerfile init process to make volume optional, removed volume from compose file
Some checks failed
Create and publish the bot container / build-and-push-image (push) Has been cancelled

This commit is contained in:
2024-12-30 07:59:32 +00:00
parent 6d61b070a6
commit 62e0ef1905
2 changed files with 3 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
FROM oven/bun:latest AS base
WORKDIR /usr/src/app
RUN mkdir /sessionData && chmod 177 /sessionData
# install dependencies into temp directory
# this will cache them and speed up future builds
FROM base AS install
@@ -32,4 +32,4 @@ COPY --from=prerelease /usr/src/app/package.json .
# run the app
USER bun
ENTRYPOINT [ "bun", "run", "index.ts" ]
ENTRYPOINT [ "bun", "run", "index.ts" ]