migrated the frontend file generation, changed folder structure

This commit is contained in:
2026-05-06 20:06:47 +03:00
parent 12a64e9f2f
commit 76fe1c4294
23 changed files with 908 additions and 0 deletions

20
backend/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM ubuntu:22.04
# Install openbabel and python
RUN apt-get update \
&& apt-get install --yes --quiet --no-install-recommends \
openbabel \
python3 \
python3-pip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /var/local
COPY requirements.txt .
# Install dependencies
RUN /usr/bin/python3 -m pip install --no-cache-dir -r requirements.txt
COPY src .
CMD uvicorn app:app --host 0.0.0.0 --port ${PORT} --log-level warning