forked from phoenix/litellm-mirror
build(Dockerfile.database): fixing build issues
This commit is contained in:
parent
6b3cf217a4
commit
4ff4180a53
3 changed files with 54 additions and 20 deletions
10
Dockerfile
10
Dockerfile
|
@ -50,16 +50,6 @@ RUN pip install --no-cache-dir --find-links=/wheels/ -r requirements.txt \
|
|||
&& pip install *.whl \
|
||||
&& rm -f *.whl
|
||||
|
||||
|
||||
# Check if the with_database argument is set to 'true'
|
||||
RUN echo "Value of with_database is: ${with_database}"
|
||||
# If true, execute the following instructions
|
||||
RUN if [ "$with_database" = "true" ]; then \
|
||||
prisma generate; \
|
||||
chmod +x /app/retry_push.sh; \
|
||||
/app/retry_push.sh; \
|
||||
fi
|
||||
|
||||
EXPOSE 4000/tcp
|
||||
|
||||
# Set your entrypoint and command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue