add basic docker support

This commit is contained in:
David Rodenkirchen 2024-05-27 18:44:05 +02:00
parent 8e3c4c8b16
commit d03cfc9734
2 changed files with 17 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM python:3.12
# Create app directory
WORKDIR /app
# Install app dependencies
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY ezgg_website ./ezgg_website
COPY rio.toml ./
COPY .project-root ./
EXPOSE 8000
CMD [ "rio", "run", "--release", "--public" ]

Binary file not shown.