[+] docker

This commit is contained in:
Hykilpikonna
2022-08-15 17:20:55 -04:00
parent e1c91130ad
commit 9b257fb8db
2 changed files with 20 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.10-alpine
WORKDIR /app
COPY requirements.txt req
RUN pip3 install -r req
COPY . .
ENTRYPOINT ['api.py']
+11
View File
@@ -0,0 +1,11 @@
version: '3.3'
services:
lisho:
container_name: lisho
restart: always
ports:
- '14792:8000'
image: hykilpikonna/lisho:1.0.0
environment:
- GOOGLE_API_KEY="Your key here"
build: .