add Dockerfile
This commit is contained in:
parent
c918f652ea
commit
f4102db5ea
3 changed files with 24 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -135,3 +135,4 @@ dist
|
|||
|
||||
# bun
|
||||
bun.lockb
|
||||
data/
|
||||
|
|
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM oven/bun:alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN apk add --no-cache python3 build-base && \
|
||||
bun install && \
|
||||
bun run build
|
||||
EXPOSE 3000
|
||||
CMD ["bun", "run", "start"]
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
bsky-feed-starset:
|
||||
container_name: bsky-feed-starset
|
||||
build: .
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "${FEEDGEN_PORT}:${FEEDGEN_PORT}"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: bsky-feed-starset
|
Loading…
Add table
Add a link
Reference in a new issue