diff options
author | clarkzjw <[email protected]> | 2023-02-23 22:24:05 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 22:24:05 -0800 |
commit | af610ab49194f12783fdfb2cc676c4877b22ed7c (patch) | |
tree | be43b7324d06886ad1ed41a015bd356ae9320d56 /Dockerfile | |
parent | a9fb6f252553ae49a2ba372434073824babe31e4 (diff) | |
download | swarm2fediverse-af610ab49194f12783fdfb2cc676c4877b22ed7c.tar.gz |
deploy: add Dockerfile and docker-compose.yaml
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1 +1,10 @@ | |||
1 | FROM python:3 | 1 | FROM python:3.10 |
2 | |||
3 | WORKDIR /usr/src/app | ||
4 | |||
5 | COPY requirements.txt ./ | ||
6 | RUN pip install --no-cache-dir -r requirements.txt | ||
7 | |||
8 | COPY . . | ||
9 | |||
10 | CMD [ "python", "./bot.py" ] | ||