Set up a docker image
- Added .dockerignore, dockerfile and compose.yml + .gitea directory
This commit is contained in:
11
dockerfile
Normal file
11
dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
CMD ["python", "src/main.py"]
|
||||
Reference in New Issue
Block a user