diff --git a/Dockerfile b/Dockerfile index dee5a9b..64ac919 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,6 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ EXPOSE 8000 -# Run with uvicorn -CMD ["python", "-m", "uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "8000"] +# Run with uvicorn from the server directory (server uses relative imports) +WORKDIR /app/server +CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]