mirror of
https://github.com/bradganley/bsky-user-activity-bot.git
synced 2025-02-10 18:26:53 +00:00
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
Some checks failed
Create and publish the bot container / build-and-push-image (push) Has been cancelled
This commit is contained in:
parent
6d61b070a6
commit
62e0ef1905
@ -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" ]
|
||||
|
@ -3,8 +3,6 @@ services:
|
||||
bskybot:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./sessionData:/sessionData
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@ -16,11 +14,4 @@ services:
|
||||
#- DEBUG_LOG_LEVEL=info
|
||||
#- JETSTREAM_URL='wss://jestream1.us-west.bsky.network/subscribe'
|
||||
#- SESSION_DATA_PATH='/sessionData'
|
||||
networks:
|
||||
- bun
|
||||
networks:
|
||||
bun:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.10.0.0/16
|
||||
networks_mode: bridge
|
||||
|
Loading…
x
Reference in New Issue
Block a user