Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Docker installed

Building docker image

Navigate to the root of the project and run: docker build -t mytest .

How to start the application

The project provides scripts to: build the application, run tests and start the application.

docker run -v $(pwd):/mnt -p 9090:9090 -w /mnt mytest ./scripts/build.sh

docker run -v $(pwd):/mnt -p 9090:9090 -w /mnt mytest ./scripts/tests.sh

docker run -v $(pwd):/mnt -p 9090:9090 -w /mnt mytest ./scripts/run.sh

Notes

For semplicity I've not provided an api to add a product, so the only products available are the ones loaded during startup.

Also, the dockerfile provided does not handle sharing dependencies between docker run commands.

About

Subito coding test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages