backend: add db initializer logic
- Add some logging to DB Client Create a db initializer #4
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
FROM python:3.13-slim-bookworm
|
||||
|
||||
# Set the PYTHONPATH environment variable
|
||||
ENV PYTHONPATH=/usr/local/lib
|
||||
|
||||
COPY . /app
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
# Copy only the requirements file first
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
CMD ["/bin/sh", "entrypoint.sh"]
|
||||
# Install dependencies
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy the rest of the application code
|
||||
COPY . .
|
||||
|
||||
# Set the command to run your application
|
||||
CMD ["/bin/sh", "entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user