CleverSwarm API invocation example
This commit is contained in:
@@ -11,17 +11,10 @@ COPY ./requirements.txt .
|
||||
|
||||
# Install the Python dependencies
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
run pip install "fastapi[standard]"
|
||||
|
||||
# Copy the application code into the container
|
||||
COPY ./.env_secrets .
|
||||
COPY ./amqp ./amqp
|
||||
COPY ./container-data ./container-data
|
||||
|
||||
# Expose the port that the FastAPI app will run on
|
||||
EXPOSE 8080
|
||||
|
||||
# Set the command to run the FastAPI app
|
||||
CMD ["python", "amqp/service/amq_service.py"]
|
||||
#CMD ["fastapi", "run", "amqp/service/amq_service.py", "--host", "0.0.0.0", "--port", "8080"]
|
||||
#CMD ["sleep", "300"]
|
||||
|
||||
Reference in New Issue
Block a user