File size: 525 Bytes
0a38286 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#
# SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
# SPDX-License-Identifier: Apache-2.0
#
# Use a specific container image for the application
FROM hadadrjt/ai:latest
# Set the main working directory inside the container
WORKDIR /usr/src/app
# Copy all files and directories from the build context on the
# Host machine into the working directory in the container
COPY . .
# Open the port so the application can be accessed
EXPOSE 7860
# Define the default command to start the application
CMD ["python", "app.py"] |