commit b83190f3ccfef4d43bf9380dd67b510f0b7744e5
parent 243ae48f610b0ea961b446c737a33d6dce6fd6c6
Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com>
Date: Mon, 30 Dec 2024 15:58:29 -0800
Update dockerfiles and README.md
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -14,14 +14,14 @@ analytics
4. Send `!help` to the bot to get instructions for getting started
### Running with Docker
-Create the `.env` file and add settings:
+Create an `.env` file and add the following variables:
```
BOT_TOKEN=...
DB_PASSWORD=...
```
-Start docker containers:
+Start the docker containers:
```
docker compose up
@@ -34,7 +34,7 @@ Install the Python dependencies
pip install -r requirements.txt
```
-Create `.env` file and add settings:
+Create an `.env` file and add the following variables:
```
BOT_TOKEN=...
diff --git a/bot.Dockerfile b/bot.Dockerfile
@@ -1,6 +1,6 @@
-FROM python:3-alpine
+FROM docker.io/python:3-alpine
-RUN apk update && apk add gcc musl-dev postgresql-dev python3-dev
+RUN apk update && apk add gcc g++ musl-dev postgresql-dev python3-dev
WORKDIR /app
diff --git a/db.Dockerfile b/db.Dockerfile
@@ -1,4 +1,4 @@
-FROM postgres:alpine
+FROM docker.io/postgres:alpine
ADD models/ddl.sql /docker-entrypoint-initdb.d
ADD models/dml-analytics.sql /docker-entrypoint-initdb.d