Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prod docker-compose example does not work #4

Closed
Seruojka opened this issue May 11, 2020 · 1 comment
Closed

Prod docker-compose example does not work #4

Seruojka opened this issue May 11, 2020 · 1 comment
Labels
question Further information is requested

Comments

@Seruojka
Copy link

Expected Behavior

Run the example aiohttp application

Actual Behavior

docker compose cannot start service ''migration''

Steps to Reproduce the Problem

  1. Git clone repo
  2. run docker-compose build from prod example
  3. get error
ERROR: Service 'migration' failed to build: The command '/bin/sh -c python -m venv /env && . /env/bin/activate && poetry install' returned a non-zero code: 1

Specifications

  • MacOs version: 10.15.4
  • Docker desktop version: 2.3.0.2
  • other python libs -> from repo
@Seruojka Seruojka changed the title Prod docker-compose example Prod docker-compose example does not work May 18, 2020
@fantix
Copy link
Member

fantix commented Nov 1, 2020

Sorry for the late reply! This is expected because the same example code is also used in the unit test, and I had to make the following hack for the test to run with the latest master, you can simply use the commented line instead to make it work locally:

gino-aiohttp = {path = "../.."} # gino = { version = "^1.0", extras = ["aiohttp"] }

@fantix fantix closed this as completed Nov 1, 2020
@fantix fantix added the question Further information is requested label Nov 1, 2020
fantix added a commit that referenced this issue Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants