/MolScan

Optical Structure Recognition using OSRA

Primary LanguageDockerfileGNU General Public License v2.0GPL-2.0

MolScan

Optical Structure Recognition using OSRA

Running backend server

Starting docker

The docker image is based on this repo: https://github.com/daverona/docker-osra/

Building

cd <backend-folder> 
docker build -t <your-image-name> .

Running

docker container run --rm --publish 3000:3000 <your-image-name>

This will run the image in a new container and map the exposed port 3000 to the machine's port 3000.

To not keep the container, --rm will remove it, after it is stopped.

Endpoints

Endpoint Description
/api/status Check, whether server is running
/api/osra/help Print osra help
/api/osra/test Will run OSRA on a png image of riboflavin and return SMILE

Riboflavin