Skip to content

Commit 96335a2

Browse files
Merge pull request #5 from dappnode/pablo/add-docker-compose
Add docker compose
2 parents 022662c + 4bbb7e2 commit 96335a2

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ WORKDIR /app
1818

1919
# Copy only the necessary files into the runtime stage
2020
COPY --from=builder /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages
21-
COPY .env .
2221
COPY twitter.py .
2322

2423
# Run twitter.py when the container launches

docker-compose-dev.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: "3.8"
2+
3+
services:
4+
api:
5+
build:
6+
context: .
7+
dockerfile: Dockerfile
8+
environment:
9+
CONSUMER_KEY: ""
10+
CONSUMER_SECRET: ""
11+
ACCESS_TOKEN: ""
12+
ACCESS_TOKEN_SECRET: ""
13+
BEARER_TOKEN: ""
14+
restart: always

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: "3.8"
2+
3+
services:
4+
smooth-bot:
5+
container_name: check-ports-service
6+
image: ghcr.io/dappnode/smooth-bot:latest
7+
environment:
8+
CONSUMER_KEY: ""
9+
CONSUMER_SECRET: ""
10+
ACCESS_TOKEN: ""
11+
ACCESS_TOKEN_SECRET: ""
12+
BEARER_TOKEN: ""
13+
restart: always

0 commit comments

Comments
 (0)