added redis, added convert function
also fixed logs, split code into multiple files
This commit is contained in:
14
dockerfile
14
dockerfile
@@ -1,12 +1,12 @@
|
||||
|
||||
FROM ubuntu:22.04
|
||||
# Install openbabel dependencies
|
||||
# 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/*
|
||||
&& apt-get install --yes --quiet --no-install-recommends \
|
||||
openbabel \
|
||||
python3 \
|
||||
python3-pip \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /var/local
|
||||
|
||||
@@ -17,4 +17,4 @@ RUN /usr/bin/python3 -m pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src .
|
||||
|
||||
CMD fastapi run app.py --port ${PORT}
|
||||
CMD uvicorn app:app --host 0.0.0.0 --port ${PORT} --log-level warning
|
||||
|
||||
Reference in New Issue
Block a user