-
Notifications
You must be signed in to change notification settings - Fork 1
Installation (via Docker) Instructions
-
First, clone the repository:
git clone https://github.com/CodexifyAI/codexify.git
open your terminal and navigate to the directory where the Dockerfile is located. You can use the
cd
command to change directories. -
Next, build the Docker image using the following command:
docker build -t codexify .
The
.
at the end of the command specifies that the Dockerfile is located in the current directory.This command will take a few minutes to run as it downloads and installs the necessary packages and dependencies.
-
Once the Docker image is built, you can run the container using the following command:
docker run -p 6000:6000 codexify
Here,
6000:6000
specifies that you want to map port 6000 on your local machine to port 6000 on the Docker container. This is necessary in order to access the Flask app running inside the container.If the container starts successfully, you should see some output in your terminal indicating that the API is running.
-
Finally, test that the service is working correctly by trying out one of the sample curl requests detailed here