Docker fail: ServerRunner class missing

Hi,

I am following a webinar for docker /webinars/deploying-applications-paas-docker and I ran into an issue.
When I am building the image with

docker build -t sample-sales-master .

everything passes good.
But after when I am trying to compose with the yml file:

version: ‘2’

services:
postgres:
image: postgres:9.6.7
environment:
- POSTGRES_PASSWORD=LetsWork
- POSTGRES_USER=postgres
- POSTGRES_DB=sales
ports:
- “5433:5432”
networks:
- sales-network
web:
image: sample-sales-master
ports:
- “8080:8080”
networks:
- sales-network

networks:
sales-network:

and I run the command

docker-compose up

I get this error:
bug-docker

Anyone has an idea how could I fix this?

Hi,

First of all, could you please deploy your UberJar locally, as it is described here. If the application works fine locally, then you should rebuild the docker image and repeat all the deploying steps.

If you have any problems with the Jar, please share the Jar configuration with us.

If the problem with the docker image persists, please share the Docker configuration with us.

Additionally, we have an image on the docker-hub, you can try to use it in order to check that Docker configured correctly on your computer.