Compare commits
No commits in common. "dbaa69271111416ff8b6e88ccc832fc0a7e443cd" and "b7bd032e074577a13399bc65195beac5f18d5c0e" have entirely different histories.
dbaa692711
...
b7bd032e07
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"python.linting.pylintEnabled": true,
|
|
||||||
"python.linting.enabled": true,
|
|
||||||
"python.formatting.provider": "black"
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 2022 - c0de <c0de@c0de.dev>
|
|
||||||
# Licensed under the MIT License (https://opensource.org/licenses/MIT)
|
|
||||||
|
|
||||||
# Multistage docker file, using a very minimal 17.6 MB base image
|
|
||||||
# Results in a cross-platform 76 MB image including all dependencies
|
|
||||||
# Build with: docker build -t ghotballbot:<version> .
|
|
||||||
# Run with: docker run -it
|
|
||||||
|
|
||||||
FROM python:3.10-alpine3.16 AS build
|
|
||||||
|
|
||||||
RUN pip install discord peewee
|
|
||||||
COPY . /app
|
|
||||||
|
|
||||||
FROM build AS run
|
|
||||||
|
|
||||||
ENV discord_token ""
|
|
||||||
ENV database_path "/tmp/ghostball.db"
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
CMD ["python", "/app/main.py"]
|
|
Loading…
Reference in New Issue
Block a user