ajout images
This commit is contained in:
parent
c2c9159631
commit
027ad1c62f
7 changed files with 64 additions and 6 deletions
|
@ -29,15 +29,14 @@ COPY requirements.txt .
|
|||
# Install Python dependencies
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Copy the application code
|
||||
COPY . .
|
||||
|
||||
# Policy for ImageMagick
|
||||
|
||||
COPY conf/policy.xml /etc/ImageMagick-6/policy.xml
|
||||
|
||||
# Expose the application port
|
||||
EXPOSE 8000
|
||||
|
||||
# Copy the application code
|
||||
COPY . .
|
||||
|
||||
# Run the application
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
|
Reference in a new issue