Skip to content

mahogny/malaria-vector-oligo-search

 
 

Repository files navigation

Vector Oligo Search

Python Flask/Gunicorn web application for running a genome vector search script.

Running the development environment

This builds and runs the service using Flask, and mounts the current directory as /app within the containter:

$ docker compose build
$ docker compose up -d

The running service will be avaliable at http://localhost:5000/.

To stop the service:

$ docker compose down

Running the production environment

This builds and runs the service using Gunicorn in a self-contained container:

$ docker build -t crispr:latest .
$ docker run --rm --name crispr --publish 127.0.0.1:5000:5000 -d crispr:latest

The running service will be avaliable at http://localhost:5000/.

To stop the service:

$ docker stop crispr

Alternatively, using docker compose:

$ docker compose -f docker-compose.prod.yml build
$ docker compose -f docker-compose.prod.yml up -d

To stop the service:

$ docker compose down

Using the public image

The image is built from either the main branch or any tag. Tags are created for each release and the tag latest will always point to the same commit as the latest released version.

To use an image you can access it from githubs registry as follows:

docker pull ghcr.io/nbisweden/vector-oligo-search:main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.0%
  • HTML 6.6%
  • JavaScript 2.4%
  • CSS 1.3%
  • Other 0.7%