add basic docker support
This commit is contained in:
+17
@@ -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" ]
|
||||
Reference in New Issue
Block a user